Don't try removing from index again in common_api
[akkoma] / lib / pleroma / web / common_api.ex
index 3266b1c607017676a00dcb8dd2d45969b8e74a46..92afd5cb61e6533ebfc0359742b8eee21bc1ed14 100644 (file)
@@ -261,8 +261,7 @@ defmodule Pleroma.Web.CommonAPI do
          {:ok, activity, _} <- Pipeline.common_pipeline(emoji_react, local: true) do
       {:ok, activity}
     else
-      _ ->
-        {:error, dgettext("errors", "Could not add reaction emoji")}
+      _ -> {:error, dgettext("errors", "Could not add reaction emoji")}
     end
   end