fix: check ds status

This commit is contained in:
junjun
2025-07-23 11:44:26 +08:00
parent 2fc9e413c6
commit 6ad151db25
4 changed files with 16 additions and 11 deletions
+1 -1
View File
@@ -30,7 +30,7 @@ async def get_datasource(session: SessionDep, id: int):
@router.post("/check")
async def check(session: SessionDep, ds: CoreDatasource):
return check_status(session, ds)
return check_status(session, ds, True)
@router.post("/add", response_model=CoreDatasource)