mirror of
https://git.youjo.love/youjo/youjo-be.git
synced 2024-11-20 13:59:55 +01:00
remove io.inspects
This commit is contained in:
parent
c5467d04e4
commit
e724da2a42
5 changed files with 0 additions and 7 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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 =
|
||||
|
|
Loading…
Reference in a new issue