Skip to content

Commit

Permalink
[IDLE-495] 공고 마감 처리 메서드명 변경 complete -> completed
Browse files Browse the repository at this point in the history
  • Loading branch information
wonjunYou committed Nov 4, 2024
1 parent af99e8a commit 98b7779
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ class JobPostingService(
jobPosting.delete()
}

fun updateToComplete(jobPosting: JobPosting) {
fun updateToCompleted(jobPosting: JobPosting) {
jobPosting.updateToCompleted()
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -193,9 +193,9 @@ class CenterJobPostingFacadeService(
}

@Transactional
fun updateToComplete(jobPostingId: UUID) {
fun updateToCompleted(jobPostingId: UUID) {
jobPostingService.getById(jobPostingId).let {
jobPostingService.updateToComplete(it)
jobPostingService.updateToCompleted(it)
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ class CenterJobPostingController(
}

override fun completeJobPosting(jobPostingId: UUID) {
centerJobPostingFacadeService.updateToComplete(jobPostingId)
centerJobPostingFacadeService.updateToCompleted(jobPostingId)
}

override fun getJobPostingDetail(jobPostingId: UUID): CenterJobPostingResponse {
Expand Down

0 comments on commit 98b7779

Please sign in to comment.