wip
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
import Matching from '../../../../../models/reversi-matching';
|
||||
import { ILocalUser } from '../../../../../models/user';
|
||||
|
||||
module.exports = (params, user) => new Promise(async (res, rej) => {
|
||||
module.exports = (params: any, user: ILocalUser) => new Promise(async (res, rej) => {
|
||||
await Matching.remove({
|
||||
parentId: user._id
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user