- remove some awaits

- add try catch
- small refactoring
This commit is contained in:
Adina Parpalita
2019-10-17 17:31:29 +03:00
parent 9fd47d3186
commit 227e05e3f9
39 changed files with 1243 additions and 905 deletions

View File

@@ -32,7 +32,11 @@ export class AuthenticationApi extends RepoApi {
}
async logout() {
try {
await this.apiAuth();
return await this.alfrescoJsApi.logout();
await this.alfrescoJsApi.logout();
} catch (error) {
console.log('--- authentication api logout catch error: ', error);
}
}
}