Skip to content

Commit

Permalink
fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
arily committed Dec 3, 2023
1 parent bc0f2a2 commit cfbcea7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/repositories/mails.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ async def fetch_count(
WHERE COALESCE(from_id = :from_id, :from_id IS NULL)
AND COALESCE(to_id = :to_id, :to_id IS NULL)
AND COALESCE(time = :time, :time IS NULL)
AND `read` = COALESCE(:read, read)
AND COALESCE(`read` = :read, :read IS NULL)
"""
params = {
"from_id": from_id,
Expand Down

0 comments on commit cfbcea7

Please sign in to comment.