1
0
mirror of https://git.pleroma.social/sjw/pleroma.git synced 2024-11-16 22:26:16 +01:00

Fix unused variable

This commit is contained in:
tusooa 2023-05-22 08:19:58 -04:00
parent 6aafa7fe76
commit 819a82da99
No known key found for this signature in database
GPG Key ID: 42AEC43D48433C51

View File

@ -101,8 +101,8 @@ defmodule Pleroma.Object.Updater do
defp maybe_update_poll(to_be_updated, updated_object) do
choice_key = fn
%{"anyOf" => [_ | _]} = data -> "anyOf"
%{"oneOf" => [_ | _]} = data -> "oneOf"
%{"anyOf" => [_ | _]} -> "anyOf"
%{"oneOf" => [_ | _]} -> "oneOf"
_ -> nil
end