Convert subscription to JSON
Test / test (push) Failing after 55s Details

This commit is contained in:
Jeff 2024-10-12 14:07:13 -04:00
parent 0c3e6f60b1
commit 4a7d752230
1 changed files with 1 additions and 1 deletions

View File

@ -40,7 +40,7 @@ function EnableButton({ onSubscribe }: { onSubscribe: () => void }) {
try {
navigator.serviceWorker.controller?.postMessage({
type: "subscribed",
subscription,
subscription: subscription.toJSON(),
})
onSubscribe()
} catch (error) {