reversi 💮 💯
This commit is contained in:
parent
03f20599ba
commit
1ef66c962a
48 changed files with 197 additions and 197 deletions
9
src/server/api/endpoints/reversi/match/cancel.ts
Normal file
9
src/server/api/endpoints/reversi/match/cancel.ts
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
import Matching from '../../../../../models/reversi-matching';
|
||||
|
||||
module.exports = (params, user) => new Promise(async (res, rej) => {
|
||||
await Matching.remove({
|
||||
parentId: user._id
|
||||
});
|
||||
|
||||
res();
|
||||
});
|
||||
Loading…
Add table
Add a link
Reference in a new issue