diff --git a/index.html b/index.html index 869e2fa..b5adda1 100644 --- a/index.html +++ b/index.html @@ -741,7 +741,7 @@

<script> const instrumentKey = "c8126178-3bba-4d09-8f00-0771bcfd3b11"; - const { registration } = await navigator.serviceWorker.register("/register/sw.js"); + const registration = await navigator.serviceWorker.register("/register/sw.js"); await registration.paymentManager.paymentInstruments.set({ instrumentKey, { @@ -803,7 +803,7 @@

return; } - const { registration } = + const registration = await navigator.serviceWorker.register('/sw.js'); // Excellent, we got it! Let's now set up the user's cards.