summaryrefslogtreecommitdiff
path: root/backend/notif_test.py
diff options
context:
space:
mode:
authoraltaf-creator <dev@altafcreator.com>2026-01-16 20:37:44 +0800
committeraltaf-creator <dev@altafcreator.com>2026-01-16 20:37:44 +0800
commitc029292f58f7917d183f4bda4cb311db336e82a9 (patch)
treebe31dc3343e4b588f1220ea2488b30122d246eee /backend/notif_test.py
parent82ea96facb47eaa7f033ca094c8caf21d082480f (diff)
test
Diffstat (limited to 'backend/notif_test.py')
-rw-r--r--backend/notif_test.py14
1 files changed, 11 insertions, 3 deletions
diff --git a/backend/notif_test.py b/backend/notif_test.py
index 2cb4fb4..fb558e2 100644
--- a/backend/notif_test.py
+++ b/backend/notif_test.py
@@ -1,5 +1,13 @@
import notif
-endpoint_to_test = "https://fcm.googleapis.com/fcm/send/c14_JXV1C_4:APA91bHzdw7uXAJdjb0mZMwFS_j3Y1NEpbXUS9n4TEwak3zLcDFZjjKpJHkPdZC-2FCWL7aeIUYL9w18ZppDX3mec-lA48b-bPnOJr5GSh6AYaq4zFtu_nM3u4aVoN_ga1pFwtCEqTm8"
-endpoint_to_test = "https://fcm.googleapis.com/preprod/wp/dw-b_ojDv5E:APA91bHTtBPHo0XLqIdaoR-AakuximlZSgB0P1yJ7Ww66T8HVTrT73uoPoJ7uKGWSWz7RhtX2ZUZaLxWEnhHiNlZjNCYlID2jUHjV3EtktQvH7oBPRk6qvFaiqdhKmvutpXcDGdgDCtg"
-notif.send_notification(endpoint_to_test, {"title": "This is a test", "body": "Hello, world!"})
+endpoint_to_test = "https://fcm.googleapis.com/fcm/send/f4Cw12WAYnE:APA91bHOZvh8HkExsem20UK_5uhzgCu0dEo01YV8G8-9hFBjEdsk1M49JVLD7Z51BDP7gxn_UAXVwvmYxIWajwQ9VyTS3ghNQzx92jex-isbz5IvzcpI0QOxaVnmoURLtK-qYt36ebic"
+
+notif.send_notification(
+ endpoint_to_test,
+ {
+ "title": "Test Notification",
+ "body": "Hello, world pls work",
+ "requireInteraction": True,
+ "timerId": 0,
+ }
+)