diff --git a/api-v3/src/inspection-reports/inspection-reports.controller.ts b/api-v3/src/inspection-reports/inspection-reports.controller.ts index 0dcdaf9..f194323 100644 --- a/api-v3/src/inspection-reports/inspection-reports.controller.ts +++ b/api-v3/src/inspection-reports/inspection-reports.controller.ts @@ -76,7 +76,7 @@ export class InspectionReportsController { ) { const content = await this.workflow.officialPdfContent(id); response.setHeader('Content-Type', content.mimeType); - response.setHeader('Content-Disposition', `attachment; filename="${content.originalName.replaceAll('\"', '')}"`); + response.setHeader('Content-Disposition', `attachment; filename="${content.originalName.replaceAll('"', '')}"`); return response.sendFile(content.filePath); }