diff --git a/src/profile/profile.controller.ts b/src/profile/profile.controller.ts index 7ed14e1..f9b35c8 100755 --- a/src/profile/profile.controller.ts +++ b/src/profile/profile.controller.ts @@ -31,7 +31,6 @@ import { Roles } from "../auth/roles.decorator"; import { EUserRoles } from "../utils/constants"; import { FindAllProfileResponseItemDto } from "./dto/find-all-profile.dto"; -// No POST /profile endpoint @Controller("profile") @ApiTags("profile") @UseGuards(AuthGuard) @@ -100,6 +99,7 @@ export class ProfileController { } @Get("all") + @Roles([EUserRoles.ADMIN, EUserRoles.MOD]) @ApiOkResponse({ type: FindAllProfileResponseItemDto, status: "2XX",