summaryrefslogtreecommitdiff
path: root/backend
diff options
context:
space:
mode:
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