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 3689d53496
commit a8311d508e
No known key found for this signature in database
GPG key ID: A061B9DDE0CA0773

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