forked from tykayn/funky-framadate-front
update method name
This commit is contained in:
parent
eb6a046fa1
commit
8f108a1bdf
@ -30,11 +30,11 @@ export class UserService {
|
||||
|
||||
public async getUserPolls(): Promise<void> {
|
||||
const currentUser: Owner = this._user.getValue();
|
||||
currentUser.polls = await this.apiService.getPollsUrlsByUserEmail(currentUser.email);
|
||||
currentUser.polls = await this.apiService.findMyPollsByEmail(currentUser.email);
|
||||
this.updateUser(currentUser);
|
||||
}
|
||||
|
||||
public async sendEmailToUserTheListOfItsPolls(): Promise<void> {
|
||||
await this.apiService.sendEmailToUserOfItsPollsList(this._user.getValue().email);
|
||||
await this.apiService.findMyPollsByEmail(this._user.getValue().email);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user