mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2024-11-18 16:07:31 -07:00
14 lines
332 B
TypeScript
14 lines
332 B
TypeScript
import Matching from '../../../../../../models/games/reversi/matching';
|
|
import { ILocalUser } from '../../../../../../models/user';
|
|
|
|
export const meta = {
|
|
requireCredential: true
|
|
};
|
|
|
|
export default (params: any, user: ILocalUser) => new Promise(async (res, rej) => {
|
|
await Matching.remove({
|
|
parentId: user._id
|
|
});
|
|
|
|
res();
|
|
});
|