wip
This commit is contained in:
parent
161fd4afab
commit
0bca0e8a02
7 changed files with 124 additions and 56 deletions
|
|
@ -34,6 +34,7 @@ module.exports = (params, user) => new Promise(async (res, rej) => {
|
|||
black_user_id: parentIsBlack ? exist.parent_id : user._id,
|
||||
white_user_id: parentIsBlack ? user._id : exist.parent_id,
|
||||
turn_user_id: parentIsBlack ? exist.parent_id : user._id,
|
||||
is_ended: false,
|
||||
logs: []
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue