fix(controller): small fix

This commit is contained in:
Matthieu Haineault 2025-08-13 15:08:13 -04:00
parent 41c5421cba
commit 24779b67f6

View File

@ -32,7 +32,7 @@ export class EmployeesController {
return this.employeesService.findAll();
}
@Get(':employee-list')
@Get('employee-list')
@RolesAllowed(RoleEnum.ADMIN, RoleEnum.HR, RoleEnum.SUPERVISOR, RoleEnum.ACCOUNTING)
@ApiOperation({summary: 'Find all employees with scoped info' })
@ApiResponse({ status: 200, description: 'List of employees with scoped info found', type: EmployeeListItemDto, isArray: true })