From 09123aa9542589a4199abe39ecf604c3e8f666e9 Mon Sep 17 00:00:00 2001 From: Bulat Kurbanov Date: Wed, 24 May 2023 21:40:18 +0200 Subject: [PATCH] Fix --- src/app/views/donate_notifications.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/views/donate_notifications.py b/src/app/views/donate_notifications.py index 4df8db3..0f786ae 100644 --- a/src/app/views/donate_notifications.py +++ b/src/app/views/donate_notifications.py @@ -31,7 +31,7 @@ async def is_need_send(chat_id: int) -> bool: @donation_notifications_router.post("/{chat_id}") async def mark_sended(chat_id: int): notification, created = await ChatDonateNotification.objects.get_or_create( - _default={"sended": datetime.now()}, chat_id=chat_id + {"sended": datetime.now()}, chat_id=chat_id ) if created: