remove io.inspects

This commit is contained in:
FloatingGhost 2022-06-08 12:58:12 +01:00
parent c5467d04e4
commit e724da2a42
5 changed files with 0 additions and 7 deletions

View file

@ -135,7 +135,6 @@ defmodule Pleroma.Elasticsearch do
:skipped
{:ok, %{body: body}} ->
IO.inspect(body)
:skipped
end
end
@ -166,7 +165,6 @@ defmodule Pleroma.Elasticsearch do
:skipped
{:ok, %{body: body}} ->
IO.inspect(body)
:skipped
end
end
@ -196,7 +194,6 @@ defmodule Pleroma.Elasticsearch do
:skipped
{:ok, %{body: body}} ->
IO.inspect(body)
:skipped
end
end

View file

@ -144,7 +144,6 @@ defmodule Pleroma.Web.ActivityPub.ObjectValidator do
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

View file

@ -73,7 +73,6 @@ defmodule Pleroma.Web.ActivityPub.ObjectValidators.ArticleNotePageValidator do
else
{:error, e} ->
Logger.error("Could not fetch replies for #{first}")
IO.inspect(e)
Map.put(data, "replies", [])
end
end

View file

@ -424,7 +424,6 @@ defmodule Pleroma.Web.ActivityPub.Transmogrifier do
} = data,
options
) do
IO.inspect(data)
data
|> Map.put("type", "EmojiReact")
|> Map.put("content", reaction)

View file

@ -347,7 +347,6 @@ defmodule Pleroma.Web.ActivityPub.Utils do
%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 =