Commit 4db1bc2c authored by kaniini's avatar kaniini
Browse files

activitypub: fix error condition match

parent dbc9feec
Pipeline #3900 passed with stages
in 6 minutes and 11 seconds
......@@ -756,7 +756,7 @@ def fetch_object_from_id(id) do
{:ok, activity} <- Transmogrifier.handle_incoming(params) do
{:ok, Object.normalize(activity.data["object"])}
else
{:reject, nil} ->
{:error, {:reject, nil}} ->
{:reject, nil}
object = %Object{} ->
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment