Skip to content

Commit

Permalink
disable reports role
Browse files Browse the repository at this point in the history
  • Loading branch information
mgtennant committed Nov 6, 2024
1 parent f9e7f23 commit caf395c
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion backend/src/report/report.controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,6 @@ export class ReportController {
// remember to update
@Post('generate-report')
@UseGuards(JwtRoleGuard)
@Roles(Role.GENERATE_DOCUMENTS)
@Header('Content-Type', 'application/vnd.openxmlformats-officedocument.wordprocessingml.document')
@Header('Content-Disposition', 'attachment; filename=report.docx')
async generateReport(
Expand Down

0 comments on commit caf395c

Please sign in to comment.