remove io.inspects
This commit is contained in:
parent
c5467d04e4
commit
e724da2a42
|
@ -135,7 +135,6 @@ def bulk_post(data, :activities) do
|
|||
:skipped
|
||||
|
||||
{:ok, %{body: body}} ->
|
||||
IO.inspect(body)
|
||||
:skipped
|
||||
end
|
||||
end
|
||||
|
@ -166,7 +165,6 @@ def bulk_post(data, :users) do
|
|||
:skipped
|
||||
|
||||
{:ok, %{body: body}} ->
|
||||
IO.inspect(body)
|
||||
:skipped
|
||||
end
|
||||
end
|
||||
|
@ -196,7 +194,6 @@ def bulk_post(data, :hashtags) when is_list(data) do
|
|||
:skipped
|
||||
|
||||
{:ok, %{body: body}} ->
|
||||
IO.inspect(body)
|
||||
:skipped
|
||||
end
|
||||
end
|
||||
|
|
|
@ -144,7 +144,6 @@ def validate(%{"type" => type} = object, meta)
|
|||
def validate(%{"type" => type} = object, meta)
|
||||
when type in ~w[Accept Reject Follow Update Like EmojiReact Announce
|
||||
ChatMessage Answer] do
|
||||
IO.inspect(object)
|
||||
validator =
|
||||
case type do
|
||||
"Accept" -> AcceptRejectValidator
|
||||
|
|
|
@ -73,7 +73,6 @@ defp fix_replies(%{"replies" => %{"first" => first}} = data) do
|
|||
else
|
||||
{:error, e} ->
|
||||
Logger.error("Could not fetch replies for #{first}")
|
||||
IO.inspect(e)
|
||||
Map.put(data, "replies", [])
|
||||
end
|
||||
end
|
||||
|
|
|
@ -424,7 +424,6 @@ def handle_incoming(
|
|||
} = data,
|
||||
options
|
||||
) do
|
||||
IO.inspect(data)
|
||||
data
|
||||
|> Map.put("type", "EmojiReact")
|
||||
|> Map.put("content", reaction)
|
||||
|
|
|
@ -347,7 +347,6 @@ def add_emoji_reaction_to_object(
|
|||
%Activity{data: %{"content" => emoji, "actor" => actor}} = activity,
|
||||
object
|
||||
) do
|
||||
IO.inspect(emoji)
|
||||
reactions = get_cached_emoji_reactions(object)
|
||||
emoji = stripped_emoji_name(emoji)
|
||||
new_reactions =
|
||||
|
|
Loading…
Reference in a new issue