diff options
| author | altaf-creator <dev@altafcreator.com> | 2025-12-29 20:47:33 +0800 |
|---|---|---|
| committer | altaf-creator <dev@altafcreator.com> | 2025-12-29 20:47:33 +0800 |
| commit | a43f4b2c8f6a14607ff6963c103383d3fa9647ab (patch) | |
| tree | ecd59c557f520c4b022771db5edb841df7fa09b8 | |
| parent | d65e703ae1fd0603535e82768c310fcec9461956 (diff) | |
oh?
| -rw-r--r-- | backend/notif.py | 2 |
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 |
