Commit 9f9c3c4f authored by rinpatch's avatar rinpatch

Merge branch 'fix/unwrapped-object-return' into 'develop'

Fetcher: fix local check returning unwrapped object

See merge request !1947
parents 802d2498 32afa079
Pipeline #19628 passed with stages
in 54 minutes and 10 seconds
......@@ -54,7 +54,7 @@ defmodule Pleroma.Object.Fetcher do
{:ok, object} <- reinject_object(object, data) do
{:ok, object}
else
{:local, true} -> object
{:local, true} -> {:ok, object}
e -> {:error, e}
end
end
......
Markdown is supported
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