From bd825ec20e6870c605bd5ee34482674eed1ae250 Mon Sep 17 00:00:00 2001 From: Tykayn Date: Wed, 9 Feb 2022 10:31:06 +0100 Subject: [PATCH] add owner data --- src/app/core/services/poll.service.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/app/core/services/poll.service.ts b/src/app/core/services/poll.service.ts index 06f199b4..9247de6f 100644 --- a/src/app/core/services/poll.service.ts +++ b/src/app/core/services/poll.service.ts @@ -717,6 +717,8 @@ export class PollService implements Resolve { 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);