nana800-mcp-server 1.0.3 → 1.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +2 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -449,7 +449,8 @@ var cachedNodesInfo = null;
|
|
|
449
449
|
var getNodesInfo = async () => {
|
|
450
450
|
if (cachedNodesInfo) return cachedNodesInfo;
|
|
451
451
|
const client = getApiClient();
|
|
452
|
-
|
|
452
|
+
const response = await client.get("/info/nodes_info");
|
|
453
|
+
cachedNodesInfo = response.data;
|
|
453
454
|
return cachedNodesInfo;
|
|
454
455
|
};
|
|
455
456
|
var validateTriggerType = async (triggerType) => {
|