summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoraltaf-creator <dev@altafcreator.com>2026-01-16 20:53:52 +0800
committeraltaf-creator <dev@altafcreator.com>2026-01-16 20:53:52 +0800
commit168173b66be30b13cb2d82c4c83cf474fbe129bb (patch)
tree1a18e158dfdfc3963a8e726239d2a30ae5088e6d
parent11d6386023a3d9dcd0e1e1fcaaf9953859d443ee (diff)
debug
-rw-r--r--frontend/sw.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/frontend/sw.js b/frontend/sw.js
index fa6acdd..a1f4048 100644
--- a/frontend/sw.js
+++ b/frontend/sw.js
@@ -25,6 +25,7 @@ self.addEventListener('push', (e) => {
self.addEventListener("notificationclick", (event) => {
if (event.action === "collect") {
+ console.log(event);
timerId = event.notification.data.timerId;
console.log("finishing timer! w/ id "+timerId.toString());
fetch(`${API_URL}/finish`, {