diff --git a/litecord/blueprints/channels.py b/litecord/blueprints/channels.py index c67e788..771fbfd 100644 --- a/litecord/blueprints/channels.py +++ b/litecord/blueprints/channels.py @@ -588,7 +588,7 @@ async def _search_channel(channel_id): await channel_check(user_id, channel_id) await channel_perm_check(user_id, channel_id, 'read_messages') - j = validate(request.args, SEARCH_CHANNEL) + j = validate(dict(request.args), SEARCH_CHANNEL) # main search query # the context (before/after) columns are copied from the guilds blueprint.