Remove warnings on two unused variables

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel 2018-12-21 12:21:56 +01:00
parent 126f18612a
commit 72ea0c046d

View File

@ -12,7 +12,7 @@ defmodule MobilizonWeb.Resolvers.Event do
{:ok, Mobilizon.Events.list_events(page, limit)}
end
def list_events(_parent, %{page: page, limit: limit}, _resolution) do
def list_events(_parent, %{page: _page, limit: _limit}, _resolution) do
{:error, :events_max_limit_reached}
end