Convert subscription to JSON
Test / test (push) Failing after 55s
Details
Test / test (push) Failing after 55s
Details
This commit is contained in:
parent
0c3e6f60b1
commit
4a7d752230
|
|
@ -40,7 +40,7 @@ function EnableButton({ onSubscribe }: { onSubscribe: () => void }) {
|
|||
try {
|
||||
navigator.serviceWorker.controller?.postMessage({
|
||||
type: "subscribed",
|
||||
subscription,
|
||||
subscription: subscription.toJSON(),
|
||||
})
|
||||
onSubscribe()
|
||||
} catch (error) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue