Skip to content

Commit

Permalink
fix: Permission 범위 수정 (#86)
Browse files Browse the repository at this point in the history
  • Loading branch information
Ho-Tea authored Jan 23, 2025
1 parent d0232b4 commit e2aa569
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ public ResponseEntity<LessonResponses> upcoming() {
return ResponseEntity.ok(new LessonResponses(searched));
}

@Permission(role = Role.MEMBER)
@Permission(role = {Role.MEMBER, Role.TEACHER})
@GetMapping("/{lessonId}")
public ResponseEntity<LessonDetailResponse> findById(
@MemberId Long memberId,
Expand Down

0 comments on commit e2aa569

Please sign in to comment.