mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2025-09-17 14:21:14 +00:00
rename apiAuth to login
This commit is contained in:
@@ -38,7 +38,7 @@ export class RepoClient {
|
|||||||
this.alfrescoApi.setConfig(browser.params.config);
|
this.alfrescoApi.setConfig(browser.params.config);
|
||||||
}
|
}
|
||||||
|
|
||||||
apiAuth(): Promise<any> {
|
login(): Promise<any> {
|
||||||
return this.alfrescoApi.login(this.username, this.password);
|
return this.alfrescoApi.login(this.username, this.password);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -71,7 +71,7 @@ export class RepoClient {
|
|||||||
}
|
}
|
||||||
|
|
||||||
async logout(): Promise<any> {
|
async logout(): Promise<any> {
|
||||||
await this.apiAuth();
|
await this.login();
|
||||||
return this.alfrescoApi.logout();
|
return this.alfrescoApi.logout();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user