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