Fred808 commited on
Commit
e472a99
·
verified ·
1 Parent(s): 194e991

Update app/services/websocket.py

Browse files
Files changed (1) hide show
  1. app/services/websocket.py +1 -1
app/services/websocket.py CHANGED
@@ -58,7 +58,7 @@ async def create_and_broadcast_notification(
58
 
59
  # Convert to dict for broadcasting
60
  notification_dict = {
61
- "id": notification.id,
62
  "user_id": notification.user_id,
63
  "title": notification.title,
64
  "message": notification.message,
 
58
 
59
  # Convert to dict for broadcasting
60
  notification_dict = {
61
+ "id": str(notification.id),
62
  "user_id": notification.user_id,
63
  "title": notification.title,
64
  "message": notification.message,