projects
/
vchess.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bcc745f
)
Forgotten randomness -> options
author
Benjamin Auder
<benjamin.auder@somewhere>
Sat, 10 Apr 2021 15:54:07 +0000
(17:54 +0200)
committer
Benjamin Auder
<benjamin.auder@somewhere>
Sat, 10 Apr 2021 15:54:07 +0000
(17:54 +0200)
server/routes/games.js
patch
|
blob
|
blame
|
history
diff --git
a/server/routes/games.js
b/server/routes/games.js
index
ede0e6d
..
fbda66f
100644
(file)
--- a/
server/routes/games.js
+++ b/
server/routes/games.js
@@
-26,7
+26,7
@@
router.post("/games", access.logged, access.ajax, (req,res) => {
) {
if (!!cid) ChallengeModel.remove(cid);
GameModel.create(
- gameInfo.vid, gameInfo.fen, gameInfo.
randomnes
s,
+ gameInfo.vid, gameInfo.fen, gameInfo.
option
s,
gameInfo.cadence, gameInfo.players,
(err, ret) => {
const oppIdx = (gameInfo.players[0].id == req.userId ? 1 : 0);