Apply suggestion to lib/pleroma/object/fetcher.ex
Tento commit je obsažen v:
rodič
d4ee76ab63
revize
c3ecaea64d
@ -97,7 +97,8 @@ defmodule Pleroma.Object.Fetcher do
|
||||
end
|
||||
end
|
||||
|
||||
def fetch_and_contain_remote_object_from_id(_id) do
|
||||
def fetch_and_contain_remote_object_from_id(%{"id" => id), do: fetch_and_contain_remote_object_from_id(id)
|
||||
def fetch_and_contain_remote_object_from_id(_id), do: {:error, "id must be a string"}
|
||||
{:error, "id must be a string"}
|
||||
end
|
||||
end
|
||||
|
Načítá se…
Odkázat v novém úkolu
Zablokovat Uživatele