summaryrefslogtreecommitdiff
path: root/backend
diff options
context:
space:
mode:
authoraltaf-creator <dev@altafcreator.com>2025-12-30 22:25:26 +0800
committeraltaf-creator <dev@altafcreator.com>2025-12-30 22:25:26 +0800
commit9ebad91a84a907c8135b0c57645cb9ae8907a7de (patch)
tree5f541fb5c5efe5ef8a9bee93bcf1cca30d63fcf3 /backend
parent90d97ee89e8cb6d31d986737fe3303d97dabcf94 (diff)
oh right
Diffstat (limited to 'backend')
-rw-r--r--backend/notif.py2
1 files changed, 1 insertions, 1 deletions
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",