logo

pleroma

My custom branche(s) on git.pleroma.social/pleroma/pleroma git clone https://hacktivis.me/git/pleroma.git
commit: 819a82da99588b53a67f42d8572a2484c4f17d40
parent 6aafa7fe7661bcf9e62c16381ffeb2d32ec9bafa
Author: tusooa <tusooa@kazv.moe>
Date:   Mon, 22 May 2023 08:19:58 -0400

Fix unused variable

Diffstat:

Mlib/pleroma/object/updater.ex4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lib/pleroma/object/updater.ex b/lib/pleroma/object/updater.ex @@ -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