Ajout domaine 'init' dans les sagas

This commit is contained in:
2020-02-25 14:35:47 +01:00
parent dbff21db9d
commit 60267305cb
4 changed files with 23 additions and 2 deletions

View File

@ -7,7 +7,7 @@ export class APIClient {
this.baseURL = baseURL;
this.login = this.login.bind(this);
this.logout = this.logout.bind(this);
this.me = this.me.bind(this);
this.retrieveSessionUser = this.retrieveSessionUser.bind(this);
this.listUsers = this.listUsers.bind(this);
this.listRequests = this.listRequests.bind(this);
}
@ -20,7 +20,7 @@ export class APIClient {
return this._callAPI('/logout')
}
me() {
retrieveSessionUser() {
return this._callAPI('/me')
}