From a8311d508ecc7cc89586fd2fb6610a5836132fd0 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 239f97e0..3cdff854 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