We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 57e3051 commit c5caa6aCopy full SHA for c5caa6a
1 file changed
apps/web/src/features/upload/utils.ts
@@ -296,7 +296,7 @@ export function interpretZodObjectValue(
296
}
297
for (let i = 0; i < record.length; i++) {
298
// TODO - make sure this is defined
299
- const recordValue = record[i]!.split(':')[1]!;
+ const recordValue = record[i]!.split(':')[1]!.trim();
300
301
const zListResult = zList[i]!;
302
if (!(zListResult.success && zListResult.typeName !== 'ZodArray' && zListResult.typeName !== 'ZodObject')) {
0 commit comments