mirror of https://github.com/jumpserver/jumpserver
修复仪表盘数据统计错误
parent
c7dfd0edce
commit
5e9006d0c2
|
@ -220,7 +220,7 @@ class IndexApi(DatesLoginMetricMixin, APIView):
|
||||||
|
|
||||||
query_params = self.request.query_params
|
query_params = self.request.query_params
|
||||||
|
|
||||||
caches = OrgResourceStatisticsCache(self.request.user.user_orgs[0])
|
caches = OrgResourceStatisticsCache(current_org)
|
||||||
|
|
||||||
_all = query_params.get('all')
|
_all = query_params.get('all')
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue