new poll from local form of the pollService

This commit is contained in:
Tykayn 2021-11-12 13:00:16 +01:00 committed by tykayn
parent cb971a5421
commit d68ba7ac2a
2 changed files with 1 additions and 2 deletions

View File

@ -644,7 +644,6 @@ export class PollService implements Resolve<Poll> {
/**
* @description convert to API version 1 data transition object
* @param form
*/
newPollFromForm(): Poll {
let form = this.form;

View File

@ -20,7 +20,7 @@ export class StepFourComponent implements OnInit {
ngOnInit(): void {}
createPoll() {
let apiData = this.pollService.newPollFromForm(this.pollService._poll);
let apiData = this.pollService.newPollFromForm();
this.apiService.createPoll(apiData);
}
}