diff options
| author | altaf-creator <dev@altafcreator.com> | 2025-12-29 20:40:26 +0800 |
|---|---|---|
| committer | altaf-creator <dev@altafcreator.com> | 2025-12-29 20:40:26 +0800 |
| commit | f50f545ca14918ab288c5a42578c1f484a9ce643 (patch) | |
| tree | 3f4db7d1353148df6a6914679a57517d0af12537 /backend | |
| parent | 500b43197c7e46fdcc82176431e52651ef37d05e (diff) | |
stilll not working?
Diffstat (limited to 'backend')
| -rw-r--r-- | backend/notif.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/backend/notif.py b/backend/notif.py index 09a6e44..92fe777 100644 --- a/backend/notif.py +++ b/backend/notif.py @@ -28,6 +28,7 @@ CREATE TABLE IF NOT EXISTS subscriptions ( # --- subscribe def subscribe(data: PushSubscriptionData): if data.expirationTime: + print("data.expirationTime exists", data.expirationTime) cursor.execute(""" INSERT INTO subscriptions (endpoint, expiration_time, keys_p256dh, keys_auth) VALUES (?, ?, ?, ?)""", (data.endpoint, data.expirationTime, data.keys["p256dh"], data.keys["auth"])) |
