We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents c4cd7ad + 00da7df commit be4fd6cCopy full SHA for be4fd6c
kpi/serializers/v2/service_usage.py
@@ -212,8 +212,10 @@ def _get_organization_details(self):
212
return
213
214
# If the user is in an organization, get all org users so we can query their total org usage
215
- self._user_ids = User.objects.values_list('pk', flat=True).filter(
216
- organizations_organization__id=organization_id
+ self._user_ids = list(
+ User.objects.values_list('pk', flat=True).filter(
217
+ organizations_organization__id=organization_id
218
+ )
219
)
220
221
# If they have a subscription, use its start date to calculate beginning of current month/year's usage
0 commit comments