mirror of
https://git.pleroma.social/pleroma/pleroma.git
synced 2024-12-23 00:26:30 +00:00
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()}
This commit is contained in:
parent
7745ee27bc
commit
cccfdde14c
1 changed files with 1 additions and 1 deletions
|
@ -77,7 +77,7 @@ defmodule Pleroma.MFA do
|
||||||
{:ok, codes}
|
{:ok, codes}
|
||||||
else
|
else
|
||||||
{:error, msg} ->
|
{:error, msg} ->
|
||||||
%{error: msg}
|
{:error, msg}
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue