mirror of
https://github.com/Comfy-Org/ComfyUI-Manager.git
synced 2026-02-16 16:12:31 +08:00
chore(api): Add temporary cache reload for import_fail_info_bulk
This commit is contained in:
parent
1321972aa9
commit
6c6c51ab9c
@ -1670,6 +1670,9 @@ async def import_fail_info_bulk(request):
|
|||||||
status=400, text="Either 'cnr_ids' or 'urls' field is required"
|
status=400, text="Either 'cnr_ids' or 'urls' field is required"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
await core.unified_manager.reload('cache')
|
||||||
|
await core.unified_manager.get_custom_nodes('default', 'cache')
|
||||||
|
|
||||||
results = {}
|
results = {}
|
||||||
|
|
||||||
if "cnr_ids" in json_data:
|
if "cnr_ids" in json_data:
|
||||||
|
|||||||
@ -1322,6 +1322,9 @@ async def import_fail_info_bulk(request):
|
|||||||
status=400, text="Either 'cnr_ids' or 'urls' field is required"
|
status=400, text="Either 'cnr_ids' or 'urls' field is required"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
await core.unified_manager.reload('cache')
|
||||||
|
await core.unified_manager.get_custom_nodes('default', 'cache')
|
||||||
|
|
||||||
results = {}
|
results = {}
|
||||||
|
|
||||||
if "cnr_ids" in json_data:
|
if "cnr_ids" in json_data:
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user