feat: address QA analytics and report upload feedback
All checks were successful
All checks were successful
This commit is contained in:
@@ -39,7 +39,10 @@ class OrganizationAnalyticsBaseView(APIView):
|
||||
permission_classes = [IsAuthenticated]
|
||||
|
||||
def get_organization(self, organization_id) -> Organization:
|
||||
return get_object_or_404(Organization, id=organization_id)
|
||||
return get_object_or_404(
|
||||
Organization.objects.filter(mostovik_uid__isnull=False),
|
||||
id=organization_id,
|
||||
)
|
||||
|
||||
|
||||
class AnalyticsDashboardView(APIView):
|
||||
|
||||
Reference in New Issue
Block a user