This commit is contained in:
Paolo Arena
2021-09-22 01:14:30 +02:00
parent db4b06f67f
commit f24dd63551
17 changed files with 707 additions and 117 deletions

View File

@@ -463,7 +463,7 @@ export const useGlobalStore = defineStore('GlobalStore', {
return swreg.pushManager.getSubscription()
})
.then((subscription) => {
console.log('subscription = ', subscription)
console.log('!!!!!!!! subscription = ', subscription)
this.wasAlreadySubscribed = !(subscription === null)
@@ -491,6 +491,7 @@ export const useGlobalStore = defineStore('GlobalStore', {
// Calling the Server to Save in the MongoDB the Subscriber
saveNewSubscriptionToServer(newSub: any) {
console.log('saveNewSubscriptionToServer')
const userStore = useUserStore()