mirror of
https://github.com/NapNeko/NapCatQQ.git
synced 2026-02-11 23:40:24 +00:00
fix: checker
This commit is contained in:
@@ -3,8 +3,8 @@ import { ActionName } from '@/onebot/action/router';
|
||||
import { z } from 'zod';
|
||||
|
||||
const SchemaData = z.object({
|
||||
group_id: z.union([z.coerce.number(), z.coerce.string()]),
|
||||
user_id: z.union([z.coerce.number(), z.coerce.string()]),
|
||||
group_id: z.coerce.string(),
|
||||
user_id: z.coerce.string(),
|
||||
card: z.coerce.string().optional(),
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user