Small clean-up (#1827)

* chore: avoid shadow variable name

* chore: map could just be foreach

* clean uneeded template literal

* lint
This commit is contained in:
Alex Christoffer Rasmussen
2025-10-13 20:24:25 +02:00
committed by GitHub
parent 9b36f36f73
commit 45e7373279
6 changed files with 10 additions and 10 deletions
@@ -52,7 +52,7 @@ router.get('/:rundownId/export', validateRundownExport, (req: Request, res: Resp
const customFields = getProjectCustomFields();
const buffer = generateExcelFile(rundown, customFields);
res.setHeader('Content-Disposition', `attachment;`);
res.setHeader('Content-Disposition', 'attachment;');
res.setHeader('Content-Type', EXCEL_MIME);
res.setHeader('Content-Length', buffer.length.toString());
res.status(200).send(buffer);