We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3d33ccc commit e569fa7Copy full SHA for e569fa7
1 file changed
apps/web/src/utils/upload2.ts
@@ -543,7 +543,7 @@ namespace Zod3 {
543
const recordValue = record[i]!.split(':')[1]!.trim();
544
545
const zListResult = zList[i]!;
546
- if (!(zListResult.success && zListResult.typeName !== 'ZodArray' && zListResult.typeName !== 'ZodObject')) {
+ if (!(zListResult && zListResult.typeName !== 'ZodArray' && zListResult.typeName !== 'ZodObject')) {
547
return {
548
message: { en: `Failed to interpret field '${i}'`, fr: `Échec de l'interprétation du champ '${i}'` },
549
success: false
0 commit comments