10 lines
192 B
TypeScript
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();
|
||
|
});
|