Skip to content

Commit

Permalink
Hotfix: 과릿 1.1.9 (#345)
Browse files Browse the repository at this point in the history
* Hotfix: 과릿 1.1.9 (#342)
  • Loading branch information
dl-00-e8 authored Nov 22, 2023
1 parent 3fff09c commit 50cccc6
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,7 @@ public List<HomeworkStatisticsRes> getStatisticsList(Long version, Member member
Homework homework = homeworkRepository.findById(homeworkId).orElseThrow(() -> new HomeworkException(ErrorCode.NOT_FOUND_EXCEPTION));
log.info("Homework Id : " + homework.getMemberId());
log.info("Member Id : " + member.getMemberId());
System.out.println(homework.getMemberId() != member.getMemberId());
if(homework.getMemberId() != member.getMemberId()) {
throw new HomeworkException(ErrorCode.UNAUTHORIZED_EXCEPTION);
}
Expand Down

0 comments on commit 50cccc6

Please sign in to comment.