From 9ebad91a84a907c8135b0c57645cb9ae8907a7de Mon Sep 17 00:00:00 2001 From: altaf-creator Date: Tue, 30 Dec 2025 22:25:26 +0800 Subject: oh right --- backend/notif.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'backend') diff --git a/backend/notif.py b/backend/notif.py index 46e7693..1dc2b3c 100644 --- a/backend/notif.py +++ b/backend/notif.py @@ -64,7 +64,7 @@ def send_notification(endpoint: str, notification_payload: object): try: webpush( subscription_info=subscription_info, - data=notification_payload, + data=str(notification_payload), vapid_private_key=PRIVATE_VAPID_KEY, vapid_claims={ "sub": "mailto:dev@altafcreator.com", -- cgit v1.2.3