From 350cf71781452db838504fdb0deead7f4c33218a Mon Sep 17 00:00:00 2001 From: Egor Matveev Date: Sun, 20 Mar 2022 16:24:28 +0300 Subject: [PATCH] notification manager --- SprintLib/queue.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SprintLib/queue.py b/SprintLib/queue.py index 2766478..2b50657 100644 --- a/SprintLib/queue.py +++ b/SprintLib/queue.py @@ -50,6 +50,6 @@ class MessagingSupport(BaseCommand): def notify(user: User, notification_type: str, text: str): send_to_queue("notifications", { 'user_id': user.id, - 'notification_type': notification_type, + 'type': notification_type, 'text': text, })