mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2024-11-18 07:57:38 -07:00
4e15337a64
* wip * wip * wip * Update index.ts * Update gen-openapi-spec.ts * Update api.ja-JP.md * Fix * Improve doc * Update gen-openapi-spec.ts * Update redoc.html * Improve doc * Update gen-openapi-spec.ts * Improve doc * Update CHANGELOG.md
16 lines
299 B
TypeScript
16 lines
299 B
TypeScript
import Matching from '../../../../../../models/games/reversi/matching';
|
|
import define from '../../../../define';
|
|
|
|
export const meta = {
|
|
tags: ['games'],
|
|
|
|
requireCredential: true
|
|
};
|
|
|
|
export default define(meta, async (ps, user) => {
|
|
await Matching.remove({
|
|
parentId: user._id
|
|
});
|
|
|
|
return;
|
|
});
|