diff --git a/SprintLib/queue.py b/SprintLib/queue.py index 79cbdf2..2766478 100644 --- a/SprintLib/queue.py +++ b/SprintLib/queue.py @@ -49,7 +49,7 @@ class MessagingSupport(BaseCommand): def notify(user: User, notification_type: str, text: str): send_to_queue("notifications", { - 'user_id': user, + 'user_id': user.id, 'notification_type': notification_type, 'text': text, })