logo

pleroma

My custom branche(s) on git.pleroma.social/pleroma/pleroma git clone https://hacktivis.me/git/pleroma.git
commit: cccfdde14c6742b7bbad0d4e0e25d4b641c721be
parent 7745ee27bcedbe54be0479cd0561b74218acb8fe
Author: Mark Felder <feld@feld.me>
Date:   Wed, 31 Jan 2024 13:50:43 -0500

Pleroma.MFA: fix gradient error

lib/pleroma/mfa.ex: The map %{error: msg} on line 80 is expected to have type {:ok, list(binary())} | {:error, String.t()} but it has type %{required(:error) => any()}

Diffstat:

Mlib/pleroma/mfa.ex2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/pleroma/mfa.ex b/lib/pleroma/mfa.ex @@ -77,7 +77,7 @@ defmodule Pleroma.MFA do {:ok, codes} else {:error, msg} -> - %{error: msg} + {:error, msg} end end