mirror of
https://github.com/misskey-dev/misskey.git
synced 2026-06-09 10:14:01 +02:00
wip
This commit is contained in:
9
src/api/endpoints/othello/match/cancel.ts
Normal file
9
src/api/endpoints/othello/match/cancel.ts
Normal file
@@ -0,0 +1,9 @@
|
||||
import Matching from '../../../models/othello-matching';
|
||||
|
||||
module.exports = (params, user) => new Promise(async (res, rej) => {
|
||||
await Matching.remove({
|
||||
parent_id: user._id
|
||||
});
|
||||
|
||||
res();
|
||||
});
|
||||
Reference in New Issue
Block a user