chore: ticket service but not tested
This commit is contained in:
@@ -48,9 +48,10 @@ export class UsersController {
|
||||
}
|
||||
|
||||
@ApiOperation({ summary: "get all user group" })
|
||||
@HttpCode(HttpStatus.OK)
|
||||
@AuthGuards()
|
||||
@Roles(RoleEnum.ADMIN)
|
||||
@Get("user-group")
|
||||
UserGroups() {
|
||||
return this.usersService.getUserGroup();
|
||||
return this.usersService.getUserGroups();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user