fixed: Issue where an invalid channel exception occurred when using the default channel

- Mismatch issue between ltdrdata/ and Comfy-Org/
modified: /v2/customnode/installed – cnr_id was being returned in a normalized form
modified: /v2/customnode/installed – when both an enabled nodepack and a disabled nodepack existed, modified to report only the enabled nodepack
fixed: Removed unnecessary warning messages printed during nodepack installation
This commit is contained in:
Dr.Lt.Data
2025-09-06 03:35:43 +09:00
parent 5378f0a8e9
commit d7799964de
5 changed files with 20 additions and 26 deletions

View File

@@ -1072,12 +1072,15 @@ async def fetch_customnode_list(request):
if channel != 'local':
found = 'custom'
for name, url in core.get_channel_dict().items():
if url == channel:
found = name
break
if channel == core.DEFAULT_CHANNEL or channel == core.DEFAULT_CHANNEL_LEGACY:
channel = 'default'
else:
for name, url in core.get_channel_dict().items():
if url == channel:
found = name
break
channel = found
channel = found
result = dict(channel=channel, node_packs=node_packs.to_dict())