Ajout domaine 'init' dans les sagas
This commit is contained in:
@ -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')
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user