Skip to content

Commit

Permalink
change itis_tsn column type to number in csv validator (#1345)
Browse files Browse the repository at this point in the history
  • Loading branch information
mauberti-bc authored Aug 26, 2024
1 parent d4e0f59 commit 2fedbf1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/src/services/observation-service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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' },
Expand Down

0 comments on commit 2fedbf1

Please sign in to comment.