mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-13 19:30:30 +00:00
refactor(nestjs): wip
This commit is contained in:
@@ -232,7 +232,7 @@ export class SaleEstimatesController {
|
||||
public async getSaleEstimate(
|
||||
@Param('id', ParseIntPipe) estimateId: number,
|
||||
@Headers('accept') acceptHeader: string,
|
||||
@Res() res: Response,
|
||||
@Res({ passthrough: true }) res: Response,
|
||||
) {
|
||||
if (acceptHeader.includes(AcceptType.ApplicationPdf)) {
|
||||
const pdfContent =
|
||||
|
||||
Reference in New Issue
Block a user