Skip to content

Commit 814ae4e

Browse files
committed
fix: issue with undefined
1 parent 75fd765 commit 814ae4e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

apps/web/src/utils/upload.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -657,7 +657,7 @@ export namespace Zod4 {
657657

658658
function interpetZodConvertResult(convertResult: ZodConvertResult, entry: string): unknown {
659659
if (entry === '' && convertResult.isOptional) {
660-
return { success: true, value: undefined };
660+
return undefined;
661661
}
662662
switch (convertResult.typeName) {
663663
case 'array':

0 commit comments

Comments
 (0)