diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2018-03-07 18:45:16 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2018-03-07 18:45:16 +0900 |
| commit | 0bca0e8a02e005293663abc4a052ad8f8b2078f3 (patch) | |
| tree | 046e97207c68833a5c57f536312bea0623bc5b44 /src/api/endpoints/othello/match.ts | |
| parent | wip (diff) | |
| download | sharkey-0bca0e8a02e005293663abc4a052ad8f8b2078f3.tar.gz sharkey-0bca0e8a02e005293663abc4a052ad8f8b2078f3.tar.bz2 sharkey-0bca0e8a02e005293663abc4a052ad8f8b2078f3.zip | |
wip
Diffstat (limited to 'src/api/endpoints/othello/match.ts')
| -rw-r--r-- | src/api/endpoints/othello/match.ts | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/api/endpoints/othello/match.ts b/src/api/endpoints/othello/match.ts index 65243a5571..cb094bbc65 100644 --- a/src/api/endpoints/othello/match.ts +++ b/src/api/endpoints/othello/match.ts @@ -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: [] }); |