Merge pull request #179 from jakerdy/patch-1

[Fix] `/api/chekcpoints/info/{name}` change misspelled method call
This commit is contained in:
pixelpaws
2025-05-11 17:10:40 +08:00
committed by GitHub

View File

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