mirror of
https://framagit.org/tykayn/date-poll-api
synced 2023-08-25 08:23:11 +02:00
⚡ send admin key after a vote
This commit is contained in:
parent
6408adcb9d
commit
69ccb84832
@ -541,6 +541,7 @@ class DefaultController extends AbstractController {
|
||||
'vote_stack' => $stack->display(),
|
||||
'vote_count' => count( $poll->getStacksOfVotes() ),
|
||||
'owner_modifier_token' => $foundOwner->getModifierToken(),
|
||||
'admin_token' => $poll->getAdminKey(),
|
||||
'json_you_sent' => $data,
|
||||
],
|
||||
201 );
|
||||
|
Loading…
x
Reference in New Issue
Block a user