mirror of
https://git.datalinker.icu/ltdrdata/ComfyUI-Manager
synced 2026-07-21 18:57:11 +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…
x
Reference in New Issue
Block a user