update nodeMetadata.js

This commit is contained in:
jingrow 2026-03-12 15:24:18 +08:00
parent 137dd02e91
commit 77d7906664

View File

@ -21,7 +21,7 @@ function resolveComponent(componentType) {
async function discoverNodeMetadata() {
try {
// 使用 Jingrow RPC 调用后端 whitelist 函数
const res = await api.call('jingrow.ai.pagetype.ai_node.ai_node.get_all_node_metadata')
const res = await api.call('jingrow.ai.utils.jlocal.get_all_node_metadata')
// Jingrow whitelist 函数返回值被包装在 message 字段中
const result = res?.message || res