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

[#74] 행복 톺아보기 API에서 lastRecordId를 지정하지 않았을 시 최신 id값으로 자동 설정하도록 수정 #75

Merged
merged 13 commits into from
May 13, 2024

Conversation

yel-m
Copy link
Member

@yel-m yel-m commented May 11, 2024

#️⃣ 연관된 이슈

Resolves #74

📝 작업 내용

이번 PR에서 작업한 내용을 간략히 설명해주세요 (이미지 첨부 가능)

  • 행복 톺아보기 API에서 프론트엔드 쪽에서는 최신 lastRecordId가 무엇인지 알 수 없기 때문에 쿼리 파라미터로 lastRecordId를 설정하지 않았을 때, 최신 id부터 size만큼 record를 보내주도록 수정합니다.
  • userId를 무조건 1로 고정하는 코드가 클라이언트에게는 혼동의 여지가 있을 것 같아 클라이언트가 직접 userId를 설정해서 테스트할 수 있도록 userId를 쿼리 파라미터로 보내주도록 수정했습니다.

스크린샷 (선택)

💬 리뷰 요구사항(선택)

리뷰어가 특별히 봐주었으면 하는 부분이 있다면 작성해주세요

ex) 메서드 XXX의 이름을 더 잘 짓고 싶은데 혹시 좋은 명칭이 있을까요?

✅ Check List

  • PR 제목을 커밋 규칙에 맞게 작성했는가?
  • PR에 해당되는 Issue를 연결했는가?
  • 적절한 라벨을 설정했는가?
  • 작업한 사람을 모두 Assign했는가?

@yel-m yel-m self-assigned this May 11, 2024
@yel-m yel-m added the fix 기능 및 버그를 수정합니다 label May 11, 2024
@yel-m yel-m changed the title [#74] [#74] 행복 톺아보기 API에서 lastRecordId를 지정하지 않았을 시 최신 id값으로 자동 설정하도록 수정 May 11, 2024
@yel-m yel-m requested a review from KkomSang May 11, 2024 11:47
@KkomSang KkomSang merged commit d4001ca into develop May 13, 2024
1 check passed
@KkomSang KkomSang deleted the fix/#74 branch May 13, 2024 05:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fix 기능 및 버그를 수정합니다
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants