Spaces:
Paused
Paused
Update app/services/websocket.py
Browse files
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,
|