1
0
mirror of https://github.com/misskey-dev/misskey.git synced 2026-06-09 06:44:01 +02:00
Files
misskey/src/api/endpoints/othello/match/cancel.ts
syuilo 161fd4afab wip
2018-03-07 17:48:32 +09:00

10 lines
192 B
TypeScript

import Matching from '../../../models/othello-matching';
module.exports = (params, user) => new Promise(async (res, rej) => {
await Matching.remove({
parent_id: user._id
});
res();
});