Commit 32afa079 authored by rinpatch's avatar rinpatch

Fetcher: fix local check returning unwrapped object

This resulted in error messages about failed refetches being logged.
parent 802d2498
Pipeline #19626 passed with stages
in 18 minutes and 49 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