fix emoji tests
[akkoma] / lib / pleroma / elasticsearch / store.ex
index 01561a0df2606c70c55c4044fc26003ad5e4aa2e..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
@@ -129,8 +133,8 @@ defmodule Pleroma.Elasticsearch do
       {:error, %{reason: err}} ->
         Logger.error("Could not bulk put activity: #{err}")
         :skipped
-      {:ok, %{body: body}} ->
-        IO.inspect(body)
+
+      {:ok, %{body: _}} ->
         :skipped
     end
   end
@@ -159,8 +163,8 @@ defmodule Pleroma.Elasticsearch do
       {:error, %{reason: err}} ->
         Logger.error("Could not bulk put users: #{err}")
         :skipped
-      {:ok, %{body: body}} ->
-        IO.inspect(body)
+
+      {:ok, %{body: _}} ->
         :skipped
     end
   end
@@ -188,8 +192,8 @@ defmodule Pleroma.Elasticsearch do
       {:error, %{reason: err}} ->
         Logger.error("Could not bulk put hashtags: #{err}")
         :skipped
-      {:ok, %{body: body}} ->
-        IO.inspect(body)
+
+      {:ok, %{body: _}} ->
         :skipped
     end
   end