mirror of
https://framagit.org/framasoft/framadate/funky-framadate-front.git
synced 2023-08-25 13:53:14 +02:00
update method name
This commit is contained in:
parent
eb6a046fa1
commit
8f108a1bdf
@ -30,11 +30,11 @@ export class UserService {
|
|||||||
|
|
||||||
public async getUserPolls(): Promise<void> {
|
public async getUserPolls(): Promise<void> {
|
||||||
const currentUser: Owner = this._user.getValue();
|
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);
|
this.updateUser(currentUser);
|
||||||
}
|
}
|
||||||
|
|
||||||
public async sendEmailToUserTheListOfItsPolls(): Promise<void> {
|
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