From 5860191f530abb474c02e6e42005f5cae000d06a Mon Sep 17 00:00:00 2001 From: Macgregor Aubertin-Young Date: Wed, 21 Aug 2024 20:00:58 -0700 Subject: [PATCH] change itis_tsn column type to number in csv validator --- api/src/services/observation-service.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/src/services/observation-service.ts b/api/src/services/observation-service.ts index 3da3b506a4..92c1e8e260 100644 --- a/api/src/services/observation-service.ts +++ b/api/src/services/observation-service.ts @@ -73,7 +73,7 @@ const defaultLog = getLogger('services/observation-service'); * enforcing uppercase object keys. */ export const observationStandardColumnValidator = { - ITIS_TSN: { type: 'string', aliases: CSV_COLUMN_ALIASES.ITIS_TSN }, + ITIS_TSN: { type: 'number', aliases: CSV_COLUMN_ALIASES.ITIS_TSN }, COUNT: { type: 'number' }, DATE: { type: 'date' }, TIME: { type: 'string' },