fix emoji tests
[akkoma] / lib / pleroma / elasticsearch / store.ex
index 648bf1642de40afcd1b562bd376351c30d57bc25..98c88a7c722f70149ed41809d6167565f910af5e 100644 (file)
@@ -1,3 +1,7 @@
+# Akkoma: A lightweight social networking server
+# Copyright © 2022-2022 Akkoma Authors <https://git.ihatebeinga.live/IHBAGang/akkoma/>
+# SPDX-License-Identifier: AGPL-3.0-only
+
 defmodule Pleroma.Elasticsearch do
   alias Pleroma.Activity
   alias Pleroma.User
@@ -130,8 +134,7 @@ defmodule Pleroma.Elasticsearch do
         Logger.error("Could not bulk put activity: #{err}")
         :skipped
 
-      {:ok, %{body: body}} ->
-        IO.inspect(body)
+      {:ok, %{body: _}} ->
         :skipped
     end
   end
@@ -161,8 +164,7 @@ defmodule Pleroma.Elasticsearch do
         Logger.error("Could not bulk put users: #{err}")
         :skipped
 
-      {:ok, %{body: body}} ->
-        IO.inspect(body)
+      {:ok, %{body: _}} ->
         :skipped
     end
   end
@@ -191,8 +193,7 @@ defmodule Pleroma.Elasticsearch do
         Logger.error("Could not bulk put hashtags: #{err}")
         :skipped
 
-      {:ok, %{body: body}} ->
-        IO.inspect(body)
+      {:ok, %{body: _}} ->
         :skipped
     end
   end