BindingResult bindingResult,
@RequestParam("branchId") long branchId) throws NotFoundException {
if (bindingResult.hasErrors()) {
return new FailValidationJsonResponse(bindingResult.getAllErrors());
}
CodeReviewComment editedComment = codeReviewCommentService.updateComment(
commentDto.getId(), commentDto.getBody(), branchId);
CodeReviewCommentDto editedCommentDto = new CodeReviewCommentDto(editedComment);
return new JsonResponse(JsonResponseStatus.SUCCESS, editedCommentDto);
}