We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a42ff14 commit 853e95cCopy full SHA for 853e95c
packages/core/src/binary-data/binary-data.config.ts
@@ -14,8 +14,7 @@ const availableModesSchema = z
14
.transform((value) => value.split(','))
15
.pipe(binaryDataModesSchema.array());
16
17
-const dbMaxFileSizeSchema = z
18
- .coerce
+const dbMaxFileSizeSchema = z.coerce
19
.number()
20
.max(1024, 'Binary data max file size in `database` mode cannot exceed 1024 MiB'); // because of Postgres BYTEA hard limit
21
0 commit comments