Skip to content

Commit

Permalink
Merge pull request #2109 from gtech-mulearn/dev
Browse files Browse the repository at this point in the history
Dev
  • Loading branch information
jelanmathewjames authored Jun 22, 2024
2 parents c518f63 + 64f5e56 commit bf88cf4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion api/launchpad/launchpad_views.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,8 @@ def get(self, request):
state=F("user_organization_link_user__org__district__zone__state__name"),
level=F("user_role_link_user__role__title"),
time_=Max("karma_activity_log_user__created_at")
).filter(
Q(level__in=allowed_levels) | Q(level__isnull=True)
).distinct()

paginated_queryset = CommonUtils.get_paginated_queryset(
Expand Down Expand Up @@ -429,4 +431,4 @@ def post(self, request):
errors[data.get('email')]["not_found_colleges"] = not_found_colleges
if error:
return CustomResponse(message=errors).get_failure_response()
return CustomResponse(general_message="Successfully added users").get_success_response()
return CustomResponse(general_message="Successfully added users").get_success_response()

0 comments on commit bf88cf4

Please sign in to comment.