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
+6 -4
View File
@@ -129,8 +129,8 @@ export class AuthService {
// alert('wsLogin')
}).catch((message) => {
// alert('ws login failed')
}).catch((error) => {
console.error(error)
})
@@ -150,7 +150,7 @@ export class AuthService {
return true
} catch(e) {
console.error('BeforesendAtachment', e)
return false
}
@@ -167,7 +167,7 @@ export class AuthService {
return true
} catch(e) {
console.error('BeforesendAtachment', e)
return false
}
}
@@ -231,6 +231,8 @@ export class AuthService {
getUserData() {
this.storageService.get(AuthConnstants.AUTH).then(res=>{
this.userData$.next(res);
}).catch((error) => {
console.error('storage getuserdata',error)
});
}