remove promise bug

This commit is contained in:
Eudes Inácio
2022-12-20 17:06:19 +01:00
parent c8d62760ce
commit 111214d231
22 changed files with 128 additions and 42 deletions
+7 -3
View File
@@ -48,8 +48,8 @@ export class NotificationsService {
this.storageService.get("Notifications").then((value) => {
}).catch(()=>{
}).catch((error)=>{
console.error('storage getnotification',error)
}).catch(() => {
this.storageService.store("Notifications", [])
@@ -122,8 +122,12 @@ export class NotificationsService {
}, (error) => {
//console.log(error)
})
});
}).catch((error) => {
console.error('storage authorization', error)
});;
}).catch((error) => {
console.error('storage getAndPostToken', error)
});
}
);