summaryrefslogtreecommitdiff
path: root/src/server/api/endpoints/othello/match.ts
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2018-04-27 19:12:15 +0900
committersyuilo <syuilotan@yahoo.co.jp>2018-04-27 19:12:15 +0900
commit0f27b629244ebaba1036596ffd2044126de94d07 (patch)
tree4001424f660328b413d978475d8bef8d692e6031 /src/server/api/endpoints/othello/match.ts
parentUpdate README.md (diff)
downloadmisskey-0f27b629244ebaba1036596ffd2044126de94d07.tar.gz
misskey-0f27b629244ebaba1036596ffd2044126de94d07.tar.bz2
misskey-0f27b629244ebaba1036596ffd2044126de94d07.zip
Update dependencies :rocket:
Diffstat (limited to 'src/server/api/endpoints/othello/match.ts')
-rw-r--r--src/server/api/endpoints/othello/match.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/api/endpoints/othello/match.ts b/src/server/api/endpoints/othello/match.ts
index b73b64437b..9769c94da3 100644
--- a/src/server/api/endpoints/othello/match.ts
+++ b/src/server/api/endpoints/othello/match.ts
@@ -7,7 +7,7 @@ import { eighteight } from '../../../../othello/maps';
module.exports = (params, user) => new Promise(async (res, rej) => {
// Get 'userId' parameter
- const [childId, childIdErr] = $(params.userId).type(ID).$;
+ const [childId, childIdErr] = $(params.userId).type(ID).get();
if (childIdErr) return rej('invalid userId param');
// Myself