Skip to content

Commit

Permalink
Merge branch 'main' into feature/194-signup-additional
Browse files Browse the repository at this point in the history
  • Loading branch information
khcho0125 authored Dec 7, 2022
2 parents 6c2291b + 6b4760e commit bc4cd9b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 21 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ import org.springframework.web.bind.annotation.ResponseStatus
import org.springframework.web.bind.annotation.RestController
import team.comit.simtong.domain.holiday.dto.QueryIndividualHolidaysResponse
import team.comit.simtong.domain.holiday.dto.request.AppointHolidayWebRequest
import team.comit.simtong.domain.holiday.dto.request.CancelHolidayWebRequest
import team.comit.simtong.domain.holiday.usecase.AppointHolidayUseCase
import team.comit.simtong.domain.holiday.usecase.CancelHolidayUseCase
import team.comit.simtong.domain.holiday.usecase.QueryIndividualHolidayUseCase
Expand Down Expand Up @@ -42,8 +41,8 @@ class WebHolidayAdapter(

@DeleteMapping("/work")
@ResponseStatus(HttpStatus.NO_CONTENT)
fun cancelHoliday(@Valid @RequestBody request: CancelHolidayWebRequest) {
cancelHolidayUseCase.execute(request.date)
fun cancelHoliday(@RequestParam date: LocalDate) {
cancelHolidayUseCase.execute(date)
}

@GetMapping
Expand Down

This file was deleted.

0 comments on commit bc4cd9b

Please sign in to comment.