add channel as accepted query

This commit is contained in:
Inhji 2023-07-24 19:31:50 +02:00
parent 61fd55e9c0
commit a63d32c00b
1 changed files with 1 additions and 1 deletions

View File

@ -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)}
_ ->