diff --git a/database.py b/database.py index 08b934ce..1585824f 100644 --- a/database.py +++ b/database.py @@ -1151,7 +1151,7 @@ async def check_notification_time(tg_id: int, notification_type: str, hours: int FROM notifications WHERE tg_id = $2 AND notification_type = $3 """, - str(hours), # Преобразуем hours в строку + hours, # Убираем преобразование в строку tg_id, notification_type, )