mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-18 20:47:54 +00:00
remove promise bug
This commit is contained in:
@@ -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)
|
||||
});
|
||||
}
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user