diff --git a/src/videos/videos.controller.ts b/src/videos/videos.controller.ts index d1243e7..43b4a9a 100644 --- a/src/videos/videos.controller.ts +++ b/src/videos/videos.controller.ts @@ -6,7 +6,6 @@ import { Body, Query, UseGuards, - Injectable, } from '@nestjs/common'; import { videos, Prisma, video_situation } from 'generated/prisma'; @@ -16,11 +15,9 @@ import { PaginatedQueryDto, PaginatedResponse } from '../shared/dto/paginated'; import { EBooleanPipe } from '../shared/pipe'; 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) +@UseGuards(KeycloakAuthGuard) export class VideosController { constructor(private readonly videosService: VideosService) {}