From 9c651a6d72c1a4b7ffab9c56fa529ad068048371 Mon Sep 17 00:00:00 2001 From: Untone Date: Wed, 11 Oct 2023 15:41:04 +0300 Subject: [PATCH] debug --- services/unread.py | 1 + 1 file changed, 1 insertion(+) diff --git a/services/unread.py b/services/unread.py index abbd81da..7412be1c 100644 --- a/services/unread.py +++ b/services/unread.py @@ -14,6 +14,7 @@ async def get_unread_counter(chat_id: str, author_id: int): async def get_total_unread_counter(author_id: int): + print(f"[services.unread] get_total_unread_counter({author_id})") chats = await redis.execute("GET", f"chats_by_author/{author_id}") unread = 0 if chats: