summaryrefslogtreecommitdiff
path: root/backend
diff options
context:
space:
mode:
authoraltaf-creator <dev@altafcreator.com>2025-12-29 20:47:33 +0800
committeraltaf-creator <dev@altafcreator.com>2025-12-29 20:47:33 +0800
commita43f4b2c8f6a14607ff6963c103383d3fa9647ab (patch)
treeecd59c557f520c4b022771db5edb841df7fa09b8 /backend
parentd65e703ae1fd0603535e82768c310fcec9461956 (diff)
oh?
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 6c47844..59c6ec1 100644
--- a/backend/notif.py
+++ b/backend/notif.py
@@ -27,7 +27,7 @@ CREATE TABLE IF NOT EXISTS subscriptions (
def subscribe(data: PushSubscriptionData):
cursor.execute("""
INSERT INTO subscriptions (endpoint, keys_p256dh, keys_auth)
- VALUES (?, ?, ?, ?)""", (data.endpoint, data.keys["p256dh"], data.keys["auth"]))
+ VALUES (?, ?, ?)""", (data.endpoint, data.keys["p256dh"], data.keys["auth"]))
conn.commit()
return data.endpoint