fix: change all ExcelImportMaps to lowercase (#716)

* fix: change all ExcelImportMaps to lowercase

* chore: bump patch version
This commit is contained in:
Alex Christoffer Rasmussen
2024-01-15 21:37:04 +01:00
committed by GitHub
parent 71092afc02
commit 661337fef9
5 changed files with 7 additions and 4 deletions
+3
View File
@@ -51,6 +51,9 @@ export const parseExcel = (excelData: unknown[][], options?: Partial<ExcelImport
const projectMetadata = {};
const rundownMetadata = {};
const importMap: ExcelImportMap = { ...defaultExcelImportMap, ...options };
for (const [key, value] of Object.entries(importMap)) {
importMap[key] = value.toLocaleLowerCase();
}
const projectData: Partial<ProjectData> = {
title: '',
description: '',