mirror of
https://github.com/AlecM33/Werewolf.git
synced 2025-12-26 15:57:50 +01:00
display start game button all the time, change kill/reveal buttons
This commit is contained in:
@@ -50,7 +50,7 @@ router.post('/create', function (req, res) {
|
||||
if (result instanceof Error) {
|
||||
res.status(500).send();
|
||||
} else {
|
||||
res.send(result); // game was created successfully, and access code was returned
|
||||
res.status(201).send(result); // game was created successfully, and access code was returned
|
||||
}
|
||||
}).catch((e) => {
|
||||
if (e === globals.ERROR_MESSAGE.BAD_CREATE_REQUEST) {
|
||||
|
||||
Reference in New Issue
Block a user