mirror of
https://github.com/jumpserver/jumpserver.git
synced 2025-06-26 15:01:59 +00:00
修复仪表盘数据统计错误
This commit is contained in:
parent
c7dfd0edce
commit
5e9006d0c2
@ -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')
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user