From a63d32c00b69f8d8fddaaa6e210390cffeb65fe8 Mon Sep 17 00:00:00 2001 From: Inhji Date: Mon, 24 Jul 2023 19:31:50 +0200 Subject: [PATCH] add channel as accepted query --- lib/plug_micropub.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/plug_micropub.ex b/lib/plug_micropub.ex index 92901d0..b76338f 100644 --- a/lib/plug_micropub.ex +++ b/lib/plug_micropub.ex @@ -122,7 +122,7 @@ defmodule PlugMicropub do defp get_query(conn) do case Map.fetch(conn.query_params, "q") do - {:ok, query} when query in ["config", "source", "syndicate-to"] -> + {:ok, query} when query in ["config", "source", "syndicate-to", "channel"] -> {:ok, String.to_existing_atom(query)} _ ->