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

feat: 사용자 정보 조회, 리뷰 조회 내 사용자 식별자를 추가로 반환 #381

Merged
merged 6 commits into from
Sep 11, 2023

Conversation

iamjooon2
Copy link
Collaborator

@iamjooon2 iamjooon2 commented Sep 8, 2023

📄 Summary

authResponse, getResponse 내 사용자 식별자를 반환하는 값을 추가하였습니다 - 첵스 요청건

authResponse

// before

{
  "accessToken" : "생성된_토큰",
  "authResponse" : {
    "name" : "이름",
    "email" : "이메일",
    "profileImageUrl" : "사진",
    "hasPet" : true,
    "pets" : [
...

after

{
  "accessToken" : "생성된_토큰", 
  "authResponse" : {
    "id": 123,  // userId 추가
    "name" : "이름",
    "email" : "이메일",
    "profileImageUrl" : "사진",
    "hasPet" : true,
    "pets" : [
...

GetReviewResponse

// before

{
  "id": 1,
  "rating": 5,
  "date": "2023-09-08",
  "comment": "우리 아이랑 너무 잘 맞아요!",
  "tastePreference": "정말 잘 먹어요",
  "stoolCondition": "촉촉 말랑해요",
  "adverseReactions": [
    "없어요"
  ],
  "petProfile": {
          // ..

after

{
  "id": 1,
  "writerId" : 3, // 작성자 id(식별자) 추가!
  "rating": 5,
  "date": "2023-09-08",
  "comment": "우리 아이랑 너무 잘 맞아요!",
  "tastePreference": "정말 잘 먹어요",
  "stoolCondition": "촉촉 말랑해요",
  "adverseReactions": [
    "없어요"
  ],
  "petProfile": {
        // .. 
...
``

wonyongChoi05
wonyongChoi05 previously approved these changes Sep 8, 2023
parkmuhyeun
parkmuhyeun previously approved these changes Sep 8, 2023
Copy link
Member

@parkmuhyeun parkmuhyeun left a comment

Choose a reason for hiding this comment

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

이륙 허가합니다.

@iamjooon2 iamjooon2 changed the title feat: authResponse 내 사용자 식별자 반환 추가 feat: authResponse 내 사용자 식별자를 추가로 반환 Sep 8, 2023
@iamjooon2 iamjooon2 changed the title feat: authResponse 내 사용자 식별자를 추가로 반환 feat: authResponse, GetReviewResponse 내 사용자 식별자를 추가로 반환 Sep 8, 2023
@iamjooon2 iamjooon2 changed the title feat: authResponse, GetReviewResponse 내 사용자 식별자를 추가로 반환 feat: 사용자 정보 조회, 리뷰 조회 내 사용자 식별자를 추가로 반환 Sep 8, 2023
@iamjooon2 iamjooon2 added this to the 5차 데모데이 milestone Sep 8, 2023
@iamjooon2 iamjooon2 merged commit e1a33dd into develop Sep 11, 2023
1 check passed
@iamjooon2 iamjooon2 deleted the feature/#358 branch September 11, 2023 10:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

3 participants