mapped signature plug: fix user lookup
This commit is contained in:
parent
5ea0cd69f7
commit
a8af0ac053
1 changed files with 1 additions and 1 deletions
|
@ -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