perf: Cache clearance error in datasource deletion API

This commit is contained in:
fit2cloud-chenyw
2026-01-29 10:55:53 +08:00
committed by fit2cloud-chenyw
parent 3d440e9a6d
commit bbadc49759
+1 -1
View File
@@ -135,7 +135,7 @@ async def delete_ds(session: SessionDep, id: int):
delete_table_by_ds_id(session, id)
delete_field_by_ds_id(session, id)
if term:
await clear_ws_resource_cache(term.oid)
await clear_ws_ds_cache(term.oid)
return {
"message": f"Datasource with ID {id} deleted successfully."
}