Remove call to non-exist endpoint /component/get_unresolved (#1338)

This commit is contained in:
Chenlei Hu 2024-12-16 18:19:49 -08:00 committed by GitHub
parent af39d3e520
commit 30abab5925
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1125,17 +1125,6 @@ export class CustomNodesManager {
}
}
const resUnresolved = await fetchData(`/component/get_unresolved`);
const unresolved = resUnresolved.data;
if (unresolved && unresolved.nodes) {
unresolved.nodes.forEach(node_type => {
const url = name_to_urls[node_type];
if(url) {
missing_nodes.add(url);
}
});
}
const hashMap = {};
this.custom_nodes.forEach(item => {
if (item.files.some(file => missing_nodes.has(file))) {