projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add inbound language test
[akkoma]
/
lib
/
pleroma
/
signature.ex
diff --git
a/lib/pleroma/signature.ex
b/lib/pleroma/signature.ex
index 043a0643e34e492a2d06f3ffb4413e6bfbb9147c..1c59be9c7b8b09c294b8f258bac907fab707a5af 100644
(file)
--- a/
lib/pleroma/signature.ex
+++ b/
lib/pleroma/signature.ex
@@
-27,7
+27,7
@@
defmodule Pleroma.Signature do
_ ->
case Pleroma.Web.WebFinger.finger(maybe_ap_id) do
_ ->
case Pleroma.Web.WebFinger.finger(maybe_ap_id) do
-
%{"ap_id" => ap_id
} -> {:ok, ap_id}
+
{:ok, %{"ap_id" => ap_id}
} -> {:ok, ap_id}
_ -> {:error, maybe_ap_id}
end
end
_ -> {:error, maybe_ap_id}
end
end