diff options
Diffstat (limited to 'frontend/sw.js')
| -rw-r--r-- | frontend/sw.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/frontend/sw.js b/frontend/sw.js index bb08623..f0ba7d8 100644 --- a/frontend/sw.js +++ b/frontend/sw.js @@ -1,5 +1,5 @@ self.addEventListener('push', (e) => { - console.log(data); + console.log(e.data); const data = e.data.json(); console.log(data); self.registration.showNotification(data.title, { |
