Skip to content

Commit

Permalink
top ig users
Browse files Browse the repository at this point in the history
  • Loading branch information
adnankattekaden committed Nov 16, 2023
1 parent 58aaa45 commit 7ca0f4c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/common/common_views.py
Original file line number Diff line number Diff line change
Expand Up @@ -349,5 +349,5 @@ def get(self, request):
task__ig__name=ig_name, appraiser_approved=True
).values(muid=F('user__muid'), first_name=F('user__first_name'), last_name=F('user__last_name')).annotate(
ig_karma=Sum('karma')
).order_by('-total_karma')[:100]
).order_by('-ig_karma')[:100]
return CustomResponse(response=user_karma_by_ig).get_success_response()

0 comments on commit 7ca0f4c

Please sign in to comment.