summaryrefslogtreecommitdiff
path: root/frontend
diff options
context:
space:
mode:
Diffstat (limited to 'frontend')
-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`, {