Fix unused variable
This commit is contained in:
parent
6aafa7fe76
commit
819a82da99
1 changed files with 2 additions and 2 deletions
|
|
@ -101,8 +101,8 @@ defmodule Pleroma.Object.Updater do
|
||||||
|
|
||||||
defp maybe_update_poll(to_be_updated, updated_object) do
|
defp maybe_update_poll(to_be_updated, updated_object) do
|
||||||
choice_key = fn
|
choice_key = fn
|
||||||
%{"anyOf" => [_ | _]} = data -> "anyOf"
|
%{"anyOf" => [_ | _]} -> "anyOf"
|
||||||
%{"oneOf" => [_ | _]} = data -> "oneOf"
|
%{"oneOf" => [_ | _]} -> "oneOf"
|
||||||
_ -> nil
|
_ -> nil
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue