summaryrefslogtreecommitdiff
path: root/backend/notif.py
diff options
context:
space:
mode:
authoraltaf-creator <dev@altafcreator.com>2025-12-29 22:50:29 +0800
committeraltaf-creator <dev@altafcreator.com>2025-12-29 22:50:29 +0800
commit55a8e43f708704dd7cb15788b03a98d851e8b0ef (patch)
treeb1ee0ce49988c9463cc0495529d3653256cfc5a2 /backend/notif.py
parent3e682cc889c5aa7b1d33c20acfd3d9bc2ea5d6dd (diff)
This does not make any sense.
Diffstat (limited to 'backend/notif.py')
-rw-r--r--backend/notif.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/backend/notif.py b/backend/notif.py
index d2e1f2e..ef7ba34 100644
--- a/backend/notif.py
+++ b/backend/notif.py
@@ -39,6 +39,7 @@ def subscribe(data: PushSubscriptionData):
# --- send notification
+# ---- not used yet
def send_notification(endpoint: str):
cursor.execute("SELECT * FROM subscriptions WHERE endpoint = ?", (endpoint,))
row = cursor.fetchall()[0]