fix(controller): small fix
This commit is contained in:
parent
41c5421cba
commit
24779b67f6
|
|
@ -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 })
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user