Skip to content

Commit

Permalink
chore: (#770) 메서드 명 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
ilyoil2 committed Sep 27, 2024
1 parent 12fb56a commit 1098550
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,5 @@ interface CheckOutingService {
arrivalTime: LocalTime
)

fun checkQueryAble() : Boolean
fun checkOutingApplicationQueryAble() : Boolean
}
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ class CheckOutingServiceImpl(
}
}

override fun checkQueryAble(): Boolean {
override fun checkOutingApplicationQueryAble(): Boolean {
val currentTime = LocalTime.now()

return currentTime.isBefore(LocalTime.of(20, 0))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ class GetCurrentOutingApplicationUseCase(
fun execute(): GetCurrentOutingApplicationResponse {
val student = studentService.getCurrentStudent()

outingService.checkQueryAble()
outingService.checkOutingApplicationQueryAble()

val currentOutingApplicationVO = outingService.getCurrentOutingApplication(student.id)

return GetCurrentOutingApplicationResponse.of(currentOutingApplicationVO, student.name)
Expand Down

0 comments on commit 1098550

Please sign in to comment.