giant massive dep upgrade and dialyxir-found error emporium (#371)
[akkoma] / lib / pleroma / signature.ex
index 043a0643e34e492a2d06f3ffb4413e6bfbb9147c..1c59be9c7b8b09c294b8f258bac907fab707a5af 100644 (file)
@@ -27,7 +27,7 @@ defmodule Pleroma.Signature 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