mirror of
https://akkoma.dev/AkkomaGang/akkoma.git
synced 2024-12-25 04:53:06 +00:00
mapped signature plug: fix user lookup
This commit is contained in:
parent
5ea0cd69f7
commit
a8af0ac053
|
@ -23,7 +23,7 @@ defp key_id_from_conn(conn) do
|
|||
|
||||
defp user_from_key_id(conn) do
|
||||
with key_actor_id when is_binary(key_actor_id) <- key_id_from_conn(conn),
|
||||
%User{} = user <- User.get_or_fetch_by_ap_id(key_actor_id) do
|
||||
{:ok, %User{} = user} <- User.get_or_fetch_by_ap_id(key_actor_id) do
|
||||
user
|
||||
else
|
||||
_ ->
|
||||
|
|
Loading…
Reference in a new issue