demote unecessary fstrings

This commit is contained in:
Luna 2020-06-10 16:02:46 -03:00
parent d80111ba33
commit 918a20f274
2 changed files with 2 additions and 2 deletions

View File

@ -701,7 +701,7 @@ async def _search_channel(channel_id):
# main search query
# the context (before/after) columns are copied from the guilds blueprint.
rows = await app.db.fetch(
f"""
"""
SELECT orig.id AS current_id,
COUNT(*) OVER() AS total_results,
array((SELECT messages.id AS before_id

View File

@ -411,7 +411,7 @@ async def search_messages(guild_id):
can_read = await fetch_readable_channels(guild_id, user_id)
rows = await app.db.fetch(
f"""
"""
SELECT orig.id AS current_id,
COUNT(*) OVER() as total_results,
array((SELECT messages.id AS before_id