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

Fetcher: fix local check returning unwrapped object

See merge request pleroma/pleroma!1947
This commit is contained in:
rinpatch 2019-11-06 23:01:04 +00:00
commit 9f9c3c4fbe

View file

@ -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