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.
❗ 배경
기존 api는 title을 입력해야 했는데 title을 end에 적는 것으로 명시되어 있어 수정했습니다.
또한 기존 스키마에 timestamp를 추가했습니다.
🔧 작업 내역
🧪 테스트 방법
📝 리뷰 노트
모듈화
기존 하나의 메서드였던 로직을 2개의 메서드로 모듈화했습니다.
DTO
startJourneyDTO에서 title 제거 했습니다
Schema
Journey schema에서 timestamp를 추가했습니다.
📸 스크린샷