Password Policy/App rename/PM Scheduling Improvements
This commit is contained in:
@@ -27,7 +27,7 @@ router.post('/reports/export', async (req, res) => {
|
||||
const output = await exportReport(report, format);
|
||||
const extension = EXPORT_EXTENSIONS[format] || 'txt';
|
||||
res.setHeader('Content-Type', output.contentType);
|
||||
res.setHeader('Content-Disposition', `attachment; filename="mixedassets-${req.body.type}.${extension}"`);
|
||||
res.setHeader('Content-Disposition', `attachment; filename="deprecore-${req.body.type}.${extension}"`);
|
||||
res.send(output.body);
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user