Skip to content

Commit

Permalink
[BE/#33] Feat : 레이블 업데이트 기능 추가
Browse files Browse the repository at this point in the history
- 추후 예외 처리 필요
  • Loading branch information
MuseopKim committed Jun 15, 2020
1 parent 2af8a3c commit 2695924
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -46,4 +46,9 @@ public ResponseEntity<ApiResponse<String>> modifyIssueStatus(@PathVariable Long
public ResponseEntity<ApiResponse<String>> updateAssignees(@PathVariable Long issueId, @RequestBody UpdateAssigneesRequestDto updateAssigneesRequestDto) {
return new ResponseEntity(ApiResponse.OK(issueService.updateAssignees(issueId, updateAssigneesRequestDto)), HttpStatus.OK);
}

@PutMapping("/issues/{issueId}/labels")
public ResponseEntity<ApiResponse<String>> updateLabels(@PathVariable Long issueId, @RequestBody UpdateLabelsRequestDto updateLabelsRequestDto) {
return new ResponseEntity(ApiResponse.OK(issueService.updateLabels(issueId, updateLabelsRequestDto)), HttpStatus.OK);
}
}

0 comments on commit 2695924

Please sign in to comment.