ActivityPub: Mark fetch_and_prepare_user_from_ap_id/1 as private
This commit is contained in:
parent
8181be89a2
commit
9dfa1c4be0
|
@ -1668,7 +1668,7 @@ def user_data_from_user_object(data, additional \\ []) do
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
def fetch_and_prepare_user_from_ap_id(ap_id, additional \\ []) do
|
defp fetch_and_prepare_user_from_ap_id(ap_id, additional) do
|
||||||
with {:ok, data} <- Fetcher.fetch_and_contain_remote_object_from_id(ap_id),
|
with {:ok, data} <- Fetcher.fetch_and_contain_remote_object_from_id(ap_id),
|
||||||
{:ok, data} <- user_data_from_user_object(data, additional) do
|
{:ok, data} <- user_data_from_user_object(data, additional) do
|
||||||
{:ok, maybe_update_follow_information(data)}
|
{:ok, maybe_update_follow_information(data)}
|
||||||
|
|
Loading…
Reference in New Issue