From 72ea0c046d4d6bf1def1c1f3a87340aad929f141 Mon Sep 17 00:00:00 2001 From: Thomas Citharel Date: Fri, 21 Dec 2018 12:21:56 +0100 Subject: [PATCH] Remove warnings on two unused variables Signed-off-by: Thomas Citharel --- lib/mobilizon_web/resolvers/event.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/mobilizon_web/resolvers/event.ex b/lib/mobilizon_web/resolvers/event.ex index 239f97e0b..3cdff8547 100644 --- a/lib/mobilizon_web/resolvers/event.ex +++ b/lib/mobilizon_web/resolvers/event.ex @@ -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