Skip to content

Commit

Permalink
profile rank fix
Browse files Browse the repository at this point in the history
  • Loading branch information
adnankattekaden committed Nov 8, 2023
1 parent d61a8ab commit 346a72b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/dashboard/profile/profile_serializer.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ class Meta:
)

def get_roles(self, obj):
return list({link.role.title for link in obj.user_role_link_user.all()})
return list({link.role.title for link in obj.user_role_link_user.filter(verified=True)})

def get_college_id(self, obj):
org_type = (
Expand Down

0 comments on commit 346a72b

Please sign in to comment.