Skip to content

Commit a2fb427

Browse files
committed
chore: remove todo
1 parent ea4b46b commit a2fb427

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

apps/web/src/features/upload/utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,7 @@ export function interpretZodObjectValue(
260260
for (let i = 0; i < record.length; i++) {
261261
// TODO - make sure this is defined
262262
const recordValue = record[i]!.split(':')[1]!;
263-
// TODO - how do we know that `zList` is the same length as record? What if the user forgets to add a element
263+
264264
const zListResult = zList[i]!;
265265
if (!(zListResult.success && zListResult.typeName !== 'ZodArray' && zListResult.typeName !== 'ZodObject')) {
266266
return { message: `Failed to interpret field '${i}'`, success: false };

0 commit comments

Comments
 (0)