summaryrefslogtreecommitdiff
path: root/backend/notif.py
diff options
context:
space:
mode:
Diffstat (limited to 'backend/notif.py')
-rw-r--r--backend/notif.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/backend/notif.py b/backend/notif.py
index eb25793..d51a713 100644
--- a/backend/notif.py
+++ b/backend/notif.py
@@ -24,6 +24,8 @@ CREATE TABLE IF NOT EXISTS subscriptions (
keys_auth TEXT NOT NULL
);""")
+conn.commit()
+
# --- subscribe
def subscribe(data: PushSubscriptionData):