Skip to content
Snippets Groups Projects
Commit 4db1bc2c authored by kaniini's avatar kaniini
Browse files

activitypub: fix error condition match

parent dbc9feec
Branches bugfix/object-fetching-handle-mrf-reject
No related tags found
No related merge requests found
......@@ -756,7 +756,7 @@ defmodule Pleroma.Web.ActivityPub.ActivityPub do
{:ok, activity} <- Transmogrifier.handle_incoming(params) do
{:ok, Object.normalize(activity.data["object"])}
else
{:reject, nil} ->
{:error, {:reject, nil}} ->
{:reject, nil}
object = %Object{} ->
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment