mirror of
https://gh-proxy.org/https://github.com/klinsmaya/SQLBot.git
synced 2026-11-10 02:07:12 +08:00
fix: check ds status
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user