diff --git a/webtexting.js b/webtexting.js index db1f156..14c3f99 100644 --- a/webtexting.js +++ b/webtexting.js @@ -109,7 +109,7 @@ if (window.notification_data) { } var subscription = await registration.pushManager.getSubscription(); - console.log("permissionState = " , permissionState) + console.log("permissionState = " , subscription) var buttonState = {state: "off"}; if(subscription) { console.log(subscription.toJSON());