fix:coerce
This commit is contained in:
1 parent
6ded82d454
commit
b190c21ef8
88 files changed
+277
-276
No files matched your search
@@ -6,7 +6,7 @@ import { z } from 'zod';
|
||||
import { GeneralCallResultStatus } from '@/core';
|
||||
|
||||
const SchemaData = z.object({
|
||||
image: z.string(),
|
||||
image: z.coerce.string(),
|
||||
});
|
||||
|
||||
type Payload = z.infer<typeof SchemaData>;
|
||||
|
||||
Reference in new issue
Block a user