diff --git a/src/client/client.controller.ts b/src/client/client.controller.ts index 0042443..7f0b443 100644 --- a/src/client/client.controller.ts +++ b/src/client/client.controller.ts @@ -1,10 +1,4 @@ -import { - Body, - Controller, - Get, - Post, - UseGuards, -} from "@nestjs/common"; +import { Body, Controller, Get, Post, UseGuards } from "@nestjs/common"; import { ApiBearerAuth, ApiTags } from "@nestjs/swagger"; import { GlobalGuard } from "src/auth/guards/global.guard"; import { RolesGuard } from "src/auth/guards/role.guard"; @@ -16,9 +10,6 @@ import { ClientDto } from "./dto/create-client.dto"; @Controller("client") @ApiTags("client-management") -@ApiBearerAuth() -@UseGuards(GlobalGuard, RolesGuard) -@Roles(RoleEnum.ADMIN) export class ClientController { constructor(private readonly clientService: ClientService) {}