fix: checker

This commit is contained in:
手瓜一十雪 committed 2025-04-15 12:34:33 +08:00
1 parent 971f292b22
commit 875b20ea9e
56 files changed
+93 -93

No files matched your search

+2 -2
View File
@@ -3,8 +3,8 @@ import { ActionName } from '@/onebot/action/router';
import { z } from 'zod';
const SchemaData = z.object({
times: z.union([z.coerce.number(), z.coerce.string()]).default(1),
user_id: z.union([z.coerce.number(), z.coerce.string()])
times: z.coerce.number().default(1),
user_id: z.coerce.string()
});
type Payload = z.infer<typeof SchemaData>;