From 51efc6d5a488b450d1782de314b301b1e7f4592e Mon Sep 17 00:00:00 2001 From: Robert Kleinschuster Date: Wed, 18 Dec 2024 23:12:44 +0100 Subject: [PATCH] use convention for unused controller params Co-authored-by: Kieran --- lib/pinchflat_web/controllers/podcasts/podcast_controller.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/pinchflat_web/controllers/podcasts/podcast_controller.ex b/lib/pinchflat_web/controllers/podcasts/podcast_controller.ex index e667503..84401fe 100644 --- a/lib/pinchflat_web/controllers/podcasts/podcast_controller.ex +++ b/lib/pinchflat_web/controllers/podcasts/podcast_controller.ex @@ -9,7 +9,7 @@ defmodule PinchflatWeb.Podcasts.PodcastController do alias Pinchflat.Podcasts.OpmlFeedBuilder alias Pinchflat.Podcasts.PodcastHelpers - def opml_feed(conn, %{}) do + def opml_feed(conn, _params) do url_base = url(conn, ~p"/") xml = OpmlFeedBuilder.build(url_base, PodcastHelpers.opml_sources())