mirror of https://gitlab.com/litecord/litecord.git
demote unecessary fstrings
This commit is contained in:
parent
d80111ba33
commit
918a20f274
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue