Skip to content

Commit

Permalink
fix: get user badges (#567)
Browse files Browse the repository at this point in the history
Co-authored-by: Muhammad Faraz  Maqsood <[email protected]>
  • Loading branch information
Faraz32123 and Muhammad Faraz Maqsood committed Jul 15, 2024
1 parent 465735f commit ec8108f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ def get(self, request):
user_certificates = get_user_certificates(username)

############ USER BADGES ############
user_badges = BadgeAssertion.objects.values(
user_badges = BadgeAssertion.objects.filter(user=user).values(
"image_url",
"assertion_url",
"created",
Expand Down

0 comments on commit ec8108f

Please sign in to comment.