Skip to content

Commit 8996998

Browse files
committed
Merge branch '114-feat/student-activity-detail-api' of https://github.com/GSM-MSG/Bitgouel-Server into 114-feat/student-activity-detail-api
2 parents 57e8c99 + 3d2abb0 commit 8996998

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

bitgouel-api/src/main/kotlin/team/msg/domain/student/service/StudentActivityServiceImpl.kt

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -258,8 +258,10 @@ class StudentActivityServiceImpl(
258258
if(entity != studentActivity.teacher)
259259
throw ForbiddenStudentActivityException("해당 학생 활동에 대한 권한이 없습니다. info : [ userId = ${user.id} ]")
260260
}
261-
is Bbozzak, is Professor, is CompanyInstructor, is Government ->
262-
throw InvalidRoleException("유효하지 않은 권한입니다. info : [ userAuthority = ${user.authority} ]")
261+
is Bbozzak,
262+
is Professor,
263+
is CompanyInstructor,
264+
is Government -> throw InvalidRoleException("유효하지 않은 권한입니다. info : [ userAuthority = ${user.authority} ]")
263265
}
264266

265267
val response = StudentActivityResponse.detailOf(studentActivity)

0 commit comments

Comments
 (0)