mirror of
https://git.datalinker.icu/ltdrdata/ComfyUI-Manager
synced 2025-12-15 00:54:23 +08:00
Only show node versions in active or pending state for installation. (#1395)
* Only list active, pending, and flagged versions. * Remove flagged versions.
This commit is contained in:
parent
585cc0d991
commit
c3a1401960
@ -92,7 +92,7 @@ def install_node(node_id, version=None):
|
|||||||
|
|
||||||
|
|
||||||
def all_versions_of_node(node_id):
|
def all_versions_of_node(node_id):
|
||||||
url = f"https://api.comfy.org/nodes/{node_id}/versions"
|
url = f"https://api.comfy.org/nodes/{node_id}/versions?statuses=NodeVersionStatusActive&statuses=NodeVersionStatusPending"
|
||||||
|
|
||||||
response = requests.get(url)
|
response = requests.get(url)
|
||||||
if response.status_code == 200:
|
if response.status_code == 200:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user