fix compilation warnings

This commit is contained in:
FloatingGhost 2022-09-05 00:39:32 +01:00
parent 1b826eea54
commit 1c7d7845c3

View file

@ -80,7 +80,7 @@ defp add_emoji_content(data, emoji, url) do
end end
defp remote_custom_emoji_react( defp remote_custom_emoji_react(
%{data: %{"reactions" => existing_reactions}} = object, %{data: %{"reactions" => existing_reactions}},
data, data,
emoji emoji
) do ) do
@ -103,7 +103,7 @@ defp remote_custom_emoji_react(
end end
end end
defp remote_custom_emoji_react(_object, data, emoji) do defp remote_custom_emoji_react(_object, _data, _emoji) do
{:error, "Could not react"} {:error, "Could not react"}
end end