Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
📑 구현 내용
답변을 수정할 때, 원래는
답변 id
를 replies 배열 안 객체에 넣어 전달하였는데, 이 부분을 삭제하고 새롭게 데이터를 보내서, 데이터베이스 측에서는 수정된 답변이 들어오면 기존 답변을 전부 삭제하고 새로 생성하는 과정을 거치게 끔 만들었습니다.🚧 참고 사항