mirror of
https://github.com/NapNeko/NapCatQQ.git
synced 2026-02-06 13:05:09 +00:00
fix:coerce
This commit is contained in:
@@ -14,8 +14,8 @@ export interface GetFileResponse {
|
||||
}
|
||||
|
||||
const GetFileBase_PayloadSchema = z.object({
|
||||
file: z.string().optional(),
|
||||
file_id: z.string().optional(),
|
||||
file: z.coerce.string().optional(),
|
||||
file_id: z.coerce.string().optional(),
|
||||
});
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user