mirror of
https://github.com/jumpserver/jumpserver.git
synced 2025-10-23 16:58:51 +00:00
仪表盘全局组织报500错误
This commit is contained in:
committed by
Jiangjie.Bai
parent
d2dc2ab02c
commit
20dacea260
@@ -221,6 +221,8 @@ class IndexApi(DatesLoginMetricMixin, APIView):
|
||||
query_params = self.request.query_params
|
||||
|
||||
caches = OrgResourceStatisticsCache(current_org)
|
||||
if current_org.is_root():
|
||||
caches.refresh()
|
||||
|
||||
_all = query_params.get('all')
|
||||
|
||||
|
Reference in New Issue
Block a user