Another issue found in DS store.

This commit is contained in:
mike12345567 2024-12-17 13:57:14 +00:00
parent 4cdc0304c6
commit e233e26899
1 changed files with 1 additions and 4 deletions

View File

@ -155,10 +155,7 @@ export function createDatasourcesStore() {
if (!datasource?._id || !datasource?._rev) {
return
}
await API.deleteDatasource({
datasourceId: datasource._id,
datasourceRev: datasource._rev,
})
await API.deleteDatasource(datasource._id, datasource._rev)
replaceDatasource(datasource._id, null)
}