mirror of
https://github.com/willmiao/ComfyUI-Lora-Manager.git
synced 2026-03-21 21:22:11 -03:00
[Fix] /api/chekcpoints/info/{name} change misspelled method call
If you call: `http://127.0.0.1:8188/api/checkpoints/info/some_name` You will get error, that there is no method `get_checkpoint_info_by_name` in `scanner`. Lookslike it wasn't fixed after refactoring or something. Now it works as expected.
This commit is contained in:
@@ -430,7 +430,7 @@ class CheckpointsRoutes:
|
||||
"""Get detailed information for a specific checkpoint by name"""
|
||||
try:
|
||||
name = request.match_info.get('name', '')
|
||||
checkpoint_info = await self.scanner.get_checkpoint_info_by_name(name)
|
||||
checkpoint_info = await self.scanner.get_model_info_by_name(name)
|
||||
|
||||
if checkpoint_info:
|
||||
return web.json_response(checkpoint_info)
|
||||
|
||||
Reference in New Issue
Block a user