From c593d8c39064bc8d22a298010783ee55b34a544a Mon Sep 17 00:00:00 2001 From: SrGooglo Date: Fri, 24 Feb 2023 14:37:24 +0000 Subject: [PATCH] use api core --- packages/app/src/debug/components/api/index.jsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/app/src/debug/components/api/index.jsx b/packages/app/src/debug/components/api/index.jsx index 2baa60d6..cc15896d 100755 --- a/packages/app/src/debug/components/api/index.jsx +++ b/packages/app/src/debug/components/api/index.jsx @@ -107,7 +107,7 @@ export default () => { const [apiNamespacesKeys, setApiNamespacesKeys] = React.useState([]) const loadData = () => { - const apiNamespaces = app.api.namespaces + const apiNamespaces = app.cores.api.namespaces setApiNamespacesKeys(Object.keys(apiNamespaces)) @@ -115,7 +115,7 @@ export default () => { } const generateEndpointsMapTabs = (apiNamespaceKey) => { - const endpoints = app.api.namespaces[apiNamespaceKey].endpoints + const endpoints = app.cores.api.namespaces[apiNamespaceKey].endpoints return Object.keys(endpoints).map((method, index) => { return