[fix] The interface returns "is_system_default"

This commit is contained in:
lanceyq
2026-03-05 16:16:55 +08:00
parent e0174f75b3
commit 2cb6aeb022
3 changed files with 30 additions and 36 deletions

View File

@@ -612,7 +612,7 @@ async def get_scenes(
workspace_id: Optional[str] = None,
scene_name: Optional[str] = None,
page: Optional[int] = None,
pagesize: Optional[int] = None,
page_size: Optional[int] = None,
db: Session = Depends(get_db),
current_user: User = Depends(get_current_user)
):
@@ -652,7 +652,7 @@ async def get_scenes(
- 不分页时page 字段为 null
"""
from app.controllers.ontology_secondary_routes import scenes_handler
return await scenes_handler(workspace_id, scene_name, page, pagesize, db, current_user)
return await scenes_handler(workspace_id, scene_name, page, page_size, db, current_user)
# ==================== 本体类型管理接口 ====================