bugs solved

This commit is contained in:
Eudes Inácio
2023-01-04 15:03:29 +01:00
parent 01b438b9f6
commit c8bdcfce8e
6 changed files with 25 additions and 21 deletions
+6 -1
View File
@@ -225,7 +225,12 @@ export class AuthService {
this.storageService.get(AuthConnstants.AUTH).then(res=>{
this.userData$.next(res);
}).catch((error) => {
console.error('storage getuserdata',error)
if(!error) {
} else {
console.error('storage getuserdata',error)
}
});
}
@@ -48,15 +48,6 @@ export class NotificationsService {
/* private eventTriger: Events, */
/* private fcm: FCM */) {
this.storageService.get("Notifications").then((value) => {
}).catch((error)=>{
console.error('storage getnotification',error)
}).catch(() => {
this.storageService.store("Notifications", [])
})
}
registerCallback(type: string, funx: Function, object: any = {}) {