Skip to content

Commit

Permalink
chore: remove todo about zkeys length check DouglasNeuroInformatics#995
Browse files Browse the repository at this point in the history
  • Loading branch information
david-roper committed Oct 30, 2024
1 parent 9e47119 commit c87b25f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/web/src/features/upload/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,7 @@ export function interpretZodObjectValue(
success: false
};
}
// TODO - how do we know that `zKeys` is the same length as record? What if the user forgets to add a element

recordArrayObject[zKeys[i]!] = interpretZodValueResult.value;
}
recordArray.push(recordArrayObject);
Expand Down

0 comments on commit c87b25f

Please sign in to comment.