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)}
|
||||
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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user