chore(api): Add temporary cache reload for import_fail_info_bulk

This commit is contained in:
Jin Yi 2025-07-30 07:55:20 +09:00
parent 1321972aa9
commit 6c6c51ab9c
2 changed files with 6 additions and 0 deletions

View File

@ -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:

View File

@ -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: