From afab62252047975d197a5e5d9e9e066dae015604 Mon Sep 17 00:00:00 2001 From: tusooa Date: Tue, 3 Jan 2023 22:09:46 -0500 Subject: [PATCH] Fix article_note_page_validator_test --- .../ecto_type/activity_pub/object_validators/map_of_string.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/pleroma/ecto_type/activity_pub/object_validators/map_of_string.ex b/lib/pleroma/ecto_type/activity_pub/object_validators/map_of_string.ex index 8b6f1741ee..a5de641549 100644 --- a/lib/pleroma/ecto_type/activity_pub/object_validators/map_of_string.ex +++ b/lib/pleroma/ecto_type/activity_pub/object_validators/map_of_string.ex @@ -14,7 +14,7 @@ def cast(object) do MultiLanguage.validate_map(object) do {:ok, data} else - {:modified, nil} -> {:ok, nil} + {_, nil} -> {:ok, nil} {:error, _} -> :error end end