Skip to content

Commit

Permalink
define empty sheet
Browse files Browse the repository at this point in the history
  • Loading branch information
alex-Arc committed Oct 21, 2024
1 parent 4856fb1 commit d60856a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/server/src/api-data/excel/excel.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import { parseRundown } from '../../utils/parserFunctions.js';
import { deleteFile } from '../../utils/parserUtils.js';
import { getCustomFields } from '../../services/rundown-service/rundownCache.js';

let excelData: WorkBook;
let excelData: WorkBook = xlsx.utils.book_new();

export async function saveExcelFile(filePath: string) {
if (!existsSync(filePath)) {
Expand Down

0 comments on commit d60856a

Please sign in to comment.