Skip to content

Commit

Permalink
chore: (#286) checkOwner 비교 구문식 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
softpeanut committed Jan 10, 2023
1 parent 3247be6 commit a2b5bc1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ data class Schedule(
}

fun checkOwner(userId: UUID) {
if (this.userId == userId) {
if (this.userId != userId) {
throw ScheduleExceptions.NotScheduleOwner()
}
}
Expand Down

0 comments on commit a2b5bc1

Please sign in to comment.