fix: financial reports responses

This commit is contained in:
Ahmed Bouhuolia
2025-05-11 15:06:03 +02:00
parent 9ebd967fe7
commit c10cad4256
30 changed files with 80 additions and 134 deletions

View File

@@ -15,7 +15,7 @@ export class ExportController {
@ApiOperation({ summary: 'Retrieves exported the given resource.' })
async export(
@Query() query: ExportQuery,
@Res() res: Response,
@Res({ passthrough: true }) res: Response,
@Headers('accept') acceptHeader: string,
) {
const applicationFormat = convertAcceptFormatToFormat(acceptHeader);