From c87b25f62ead7dec9efaa6c9f5cafac75fa934e7 Mon Sep 17 00:00:00 2001 From: David Roper Date: Thu, 24 Oct 2024 11:32:04 -0400 Subject: [PATCH] chore: remove todo about zkeys length check #995 --- apps/web/src/features/upload/utils.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/web/src/features/upload/utils.ts b/apps/web/src/features/upload/utils.ts index 4a4d62b78..dd58b993b 100644 --- a/apps/web/src/features/upload/utils.ts +++ b/apps/web/src/features/upload/utils.ts @@ -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);