9 lines
191 B
TypeScript
9 lines
191 B
TypeScript
import Matching from '../../../models/othello-matching';
|
|
|
|
module.exports = (params, user) => new Promise(async (res, rej) => {
|
|
await Matching.remove({
|
|
parentId: user._id
|
|
});
|
|
|
|
res();
|
|
});
|