Skip to content

Commit

Permalink
fix: review
Browse files Browse the repository at this point in the history
  • Loading branch information
artsiom aliakseyenka authored and aaliakseyenka committed Aug 26, 2023
1 parent a1f6c9c commit 60cd448
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions nestjs/src/courses/interviews/interviews.controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ export class InterviewsController {
@ApiForbiddenResponse()
@ApiBadRequestResponse()
@ApiOperation({ operationId: 'getInterviewFeedback' })
@RequiredRoles([CourseRole.Mentor, CourseRole.Supervisor, CourseRole.Manager])
@RequiredRoles([CourseRole.Mentor, CourseRole.Supervisor, CourseRole.Manager], true)
public async getInterviewFeedback(
@Param('courseId', ParseIntPipe) _: number,
@Param('interviewId', ParseIntPipe) interviewId: number,
Expand All @@ -136,7 +136,7 @@ export class InterviewsController {
@ApiForbiddenResponse()
@ApiBadRequestResponse()
@ApiOperation({ operationId: 'createInterviewFeedback' })
@RequiredRoles([CourseRole.Mentor, CourseRole.Supervisor, CourseRole.Manager])
@RequiredRoles([CourseRole.Mentor, CourseRole.Supervisor, CourseRole.Manager], true)
public async createInterviewFeedback(
@Param('courseId', ParseIntPipe) courseId: number,
@Param('interviewId', ParseIntPipe) interviewId: number,
Expand Down

0 comments on commit 60cd448

Please sign in to comment.