mirror of
https://github.com/NapNeko/NapCatQQ.git
synced 2026-02-06 13:05:09 +00:00
@@ -8,7 +8,7 @@ import { ContextMode, createContext } from '@/onebot/action/msg/SendMsg';
|
||||
import { z } from 'zod';
|
||||
|
||||
const SchemaData = z.object({
|
||||
user_id: z.coerce.string(),
|
||||
user_id: z.union([z.coerce.number(), z.coerce.string()]),
|
||||
file: z.coerce.string(),
|
||||
name: z.coerce.string(),
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user