From 730880a34f569c00be911dc281a16ae9caf3a327 Mon Sep 17 00:00:00 2001 From: mgtennant <100305096+mgtennant@users.noreply.github.com> Date: Wed, 6 Nov 2024 09:47:42 -0800 Subject: [PATCH] remove roleguard --- backend/src/report/report.controller.ts | 2 -- 1 file changed, 2 deletions(-) diff --git a/backend/src/report/report.controller.ts b/backend/src/report/report.controller.ts index 0694f74..161896d 100644 --- a/backend/src/report/report.controller.ts +++ b/backend/src/report/report.controller.ts @@ -72,9 +72,7 @@ export class ReportController { return this.reportService.generateReportName(dtid, tenure_file_number, document_type_id); } - // remember to update @Post('generate-report') - @UseGuards(JwtRoleGuard) @Header('Content-Type', 'application/vnd.openxmlformats-officedocument.wordprocessingml.document') @Header('Content-Disposition', 'attachment; filename=report.docx') async generateReport(