Skip to content

Commit

Permalink
fix Request method 'DELETE' is not supported
Browse files Browse the repository at this point in the history
  • Loading branch information
youngreal committed Nov 20, 2024
1 parent 5eb3105 commit dbb327e
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,11 @@ public void updateRecord(
}

// 기록 삭제
@DeleteMapping("/maps/history/{recordId}")

/**
* org.springframework.web.HttpRequestMethodNotSupportedException: Request method 'DELETE' is not supported 예외로 인해 PostMapping으로 변경
*/
@PostMapping("/maps/history/{recordId}")
public void deleteRecord(
AuthenticationMember authenticationMember,
@PathVariable long recordId
Expand Down

0 comments on commit dbb327e

Please sign in to comment.