Skip to content

Commit

Permalink
refactor(user): 유저 프로필 조회에 피드 정보 추가
Browse files Browse the repository at this point in the history
refactor(user): 유저 프로필 조회에 피드 정보 추가
  • Loading branch information
BaekSeungW00 committed Aug 17, 2023
2 parents b604bfb + 0822093 commit 2558f5b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions user/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ def get(self, request, user_id):
data = {
"user": serializer.data,
"badge": {"items": BadgeSerializer(badges, many=True).data},
"feed": {"count": posts.count(), "items": PostSerializer(instance=posts, many=True).data},
"following": following_num,
"follower": follower_num
}
Expand Down

0 comments on commit 2558f5b

Please sign in to comment.