Skip to content

Commit

Permalink
fix(followers): Users should see correct details of their followers
Browse files Browse the repository at this point in the history
- Retrive  correct details of followers

[Fixes #165590803]
  • Loading branch information
CryceTruly committed Apr 25, 2019
1 parent a95482a commit 2f55ee8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions authors/apps/profiles/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -162,8 +162,8 @@ def get(self, request, username):
user = User.objects.get(id=follow['follower'])
followers_list.append({
"username": user.username,
"bio": profile.bio,
"image": profile.image,
"bio": user.profile.bio,
"image": user.profile.image,
"followed_at": follow['followed_at']
})
if not followers_list:
Expand Down

0 comments on commit 2f55ee8

Please sign in to comment.