forked from tykayn/funky-framadate-front
add owner data
This commit is contained in:
parent
206b7ea9bd
commit
bd825ec20e
@ -717,6 +717,8 @@ export class PollService implements Resolve<Poll> {
|
||||
let form = this.form;
|
||||
const newOwner = this.storageService.vote_stack.owner;
|
||||
|
||||
newOwner.pseudo = form.value.creatorPseudo;
|
||||
newOwner.email = form.value.creatorEmail;
|
||||
const newpoll = new Poll(newOwner, form.value.custom_url, form.value.title);
|
||||
|
||||
const pollKeys = Object.keys(newpoll);
|
||||
|
Loading…
Reference in New Issue
Block a user