Skip to content

Commit 9ab413d

Browse files
committed
fix: make subject regex just regex
1 parent 42b7720 commit 9ab413d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/web/src/utils/upload.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -779,7 +779,7 @@ export async function processInstrumentCSVZod4(
779779
if (instrumentSchema instanceof z4.ZodObject) {
780780
instrumentSchemaWithInternal = instrumentSchema.extend({
781781
date: z4.coerce.date(),
782-
subjectID: z4.string().regex(...SUBJECT_ID_REGEX)
782+
subjectID: z4.string().regex(SUBJECT_ID_REGEX)
783783
});
784784
shape = instrumentSchemaWithInternal.shape;
785785
}

0 commit comments

Comments
 (0)