From 2eb714c28b038f87e8c98f56c20282a9cbd7973e Mon Sep 17 00:00:00 2001 From: jelanmathewjames Date: Wed, 29 May 2024 18:08:16 +0530 Subject: [PATCH] fix: launchpad leaderboard api --- api/launchpad/launchpad_views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/launchpad/launchpad_views.py b/api/launchpad/launchpad_views.py index 2c6ff4e0..f8901e58 100644 --- a/api/launchpad/launchpad_views.py +++ b/api/launchpad/launchpad_views.py @@ -18,7 +18,7 @@ def get(self, request): ) .annotate( karma=Sum("karma_activity_log_user__karma"), - org=F("userorganizationlink_user__title"), + org=F("user_organization_link_user__title"), district=F("district__name"), state=F("district__zone__state__name"), time_=Max("karma_activity_log_user__created_at"),