Merge pull request #6119 from jumpserver/dev

v2.10.0 rc2 fix-dashboard
This commit is contained in:
Jiangjie.Bai 2021-05-17 10:11:06 +08:00 committed by GitHub
commit dd6c063478
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -220,7 +220,7 @@ class IndexApi(DatesLoginMetricMixin, APIView):
query_params = self.request.query_params
caches = OrgResourceStatisticsCache(self.request.user.user_orgs[0])
caches = OrgResourceStatisticsCache(current_org)
_all = query_params.get('all')