Change event registration return
This commit is contained in:
parent
deb378e5d5
commit
8fbbe61428
|
@ -41,7 +41,7 @@ function register_event($cfg) {
|
|||
$stmt->bind_param("s", $event_token);
|
||||
$stmt->execute();
|
||||
$stmt->close();
|
||||
return true;
|
||||
return ["success" => true];
|
||||
}
|
||||
|
||||
function save_hash($cfg, $event_id, $vote_round, $name, $hash) {
|
||||
|
|
Loading…
Reference in a new issue