Remove warnings on two unused variables
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
parent
3689d53496
commit
a8311d508e
|
@ -12,7 +12,7 @@ defmodule MobilizonWeb.Resolvers.Event do
|
||||||
{:ok, Mobilizon.Events.list_events(page, limit)}
|
{:ok, Mobilizon.Events.list_events(page, limit)}
|
||||||
end
|
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}
|
{:error, :events_max_limit_reached}
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue