add injectable
This commit is contained in:
@@ -6,6 +6,7 @@ import {
|
||||
Body,
|
||||
Query,
|
||||
UseGuards,
|
||||
Injectable,
|
||||
} from '@nestjs/common';
|
||||
import { videos, Prisma, video_situation } from 'generated/prisma';
|
||||
|
||||
@@ -17,6 +18,7 @@ import { KeycloakAuthGuard } from '../auth/keycloak-auth.guard';
|
||||
import { Roles } from 'src/auth/decorator/roles.decorator';
|
||||
import { RolesGuard } from 'src/auth/roles.guard';
|
||||
|
||||
@Injectable()
|
||||
@Controller('videos')
|
||||
@UseGuards(KeycloakAuthGuard, RolesGuard)
|
||||
export class VideosController {
|
||||
|
||||
Reference in New Issue
Block a user