We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2c5635a commit a527948Copy full SHA for a527948
1 file changed
express-zod-api/src/file-schema.ts
@@ -10,11 +10,7 @@ const variants = {
10
buffer: () => bufferSchema.brand(ezFileBrand as symbol),
11
string: () => z.string().brand(ezFileBrand as symbol),
12
binary: () => bufferSchema.or(z.string()).brand(ezFileBrand as symbol),
13
- base64: () =>
14
- z
15
- .string()
16
- .base64()
17
- .brand(ezFileBrand as symbol),
+ base64: () => z.base64().brand(ezFileBrand as symbol),
18
};
19
20
type Variants = typeof variants;
0 commit comments