refactor: ♻️ where42All api의 반환값 변경 #209
Merged
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.
수정 및 작업 내용
Where42All (post) API의 응답:
*클러스터가 추가될 것을 대비하여 클러스터를 포함하여 반환 (서초 삭제)
*admin 또는 잘못된 로그인으로 조회하는 경우 inoutState과 cluster를 모두 null로 반환
어디있니 팀의 요청에 따라 API의 베이스 url을 변경하였습니다.
기존: /ext/where42/where42All
변경: /ext/where42/where42/where42All
42가 운영되기 시작한 시간을 고정적으로 반환해주는 상수를 추가하였고(START_DATE),
날짜 및 시간 연산 파일 내 함수들의 주석이 제멋대로여서 상수 추가, 변수명과 주석을 수정하였습니다. (업보하나해결)
여담
저번에 확인한 어디있니 팀의 레포지토리가 다른 저장소였더라구요 🫢 소통의 중요성 다시 되새기고 갑니다...