lint
This commit is contained in:
@@ -25,7 +25,7 @@ import { AuthGuard } from '@nestjs/passport';
|
||||
@UseGuards(AuthGuard('jwt'), RolesGuard)
|
||||
@Roles(Role.Admin)
|
||||
export class AdminUserController {
|
||||
constructor(private readonly userService: UserService) { }
|
||||
constructor(private readonly userService: UserService) {}
|
||||
|
||||
@Get()
|
||||
async list(@Query() listDto: ListDto) {
|
||||
|
||||
@@ -20,7 +20,7 @@ import { ResourceService } from 'src/resource/resource.service';
|
||||
@UseGuards(AuthGuard('jwt'), RolesGuard)
|
||||
@Roles(Role.Admin)
|
||||
export class AdminWebResourceController {
|
||||
constructor(private readonly resourceService: ResourceService) { }
|
||||
constructor(private readonly resourceService: ResourceService) {}
|
||||
|
||||
@Get()
|
||||
async list() {
|
||||
|
||||
Reference in New Issue
Block a user