Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: S3 FileKey 파싱 오류 수정 & CrewService 이전기수 하드코딩 현재 구조로 수정 #22

Merged
merged 1 commit into from
Jan 17, 2025

Conversation

Lim-Changi
Copy link
Member

관련 이슈가 있다면 적어주세요.

  • 어드민 배포 시, S3 이미지 링크 잘못 업로드 되는 이슈 수정
  • 크루API 활용 시, 33기로 하드코딩 되어있던 이전기수 정보 → 현재 이전기수 회귀식으로 적용되도록 수정

📌 개발 이유

💻 수정 사항

  • 어드민 배포 시, S3 이미지 링크 잘못 업로드 되는 이슈
    → S3 파일키가 잘못 파싱되어서 발생 ⇒ 수정완료
  • 크루API 활용 시, 33기로 하드코딩 되어있던 이전기수 정보
    → 현재 이전기수 회귀식으로 적용되도록 수정

🧪 테스트 방법

  • /v2/api-docs

⛳️ 고민한 점 || 궁굼한 점

🎯 리뷰 포인트

📁 레퍼런스

@Lim-Changi Lim-Changi added the 🐞Fix 코드 수정, 버그/오류 해결 label Jan 17, 2025
@Lim-Changi Lim-Changi requested a review from softmoca January 17, 2025 01:48
Copy link

height bot commented Jan 17, 2025

Link Height tasks by mentioning a task ID in the pull request title or commit messages, or description and comments with the keyword link (e.g. "Link T-123").

💡Tip: You can also use "Close T-X" to automatically close a task when the pull request is merged.

Copy link
Member

@softmoca softmoca left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Q/A 요청 사항 반영해 주시느라 늘 너무 고생 많으셨어요 ㅠㅠ
이슈 없구 바로 머지 진행해주시면 될꺼같습니다 !

Comment on lines -38 to +36
public Integer getStudyCount(Integer generation) {
val activeGen = (generation != null) ? generation : PREV_GEN;
val active = !activeGen.equals(PREV_GEN);

val crewApiResponse = crewClient.getAllStudy(1, 1, activeGen, active, studyCategory);
public Integer getStudyCount(Integer generation, boolean isActive) {
val crewApiResponse = crewClient.getAllStudy(1, 1, generation, isActive, studyCategory);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

앗 크루쪽도 하드 코딩된 기수 값이 있었네요 !!
반영해 주셔서 감사합니다 !

@Lim-Changi Lim-Changi merged commit 666dcf4 into develop Jan 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐞Fix 코드 수정, 버그/오류 해결 size/M
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants