Skip to content

Commit

Permalink
Another issue found in DS store.
Browse files Browse the repository at this point in the history
  • Loading branch information
mike12345567 committed Dec 17, 2024
1 parent 4cdc030 commit e233e26
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions packages/builder/src/stores/builder/datasources.js
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}

Expand Down

0 comments on commit e233e26

Please sign in to comment.