Skip to content

Commit

Permalink
Fix datasource validity checking
Browse files Browse the repository at this point in the history
  • Loading branch information
aptkingston committed Dec 18, 2024
1 parent 7bd9151 commit fd388c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/builder/src/stores/builder/datasources.ts
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ export class DatasourceStore extends BudiStore<DerivedDatasourceStore> {
integration: Integration
datasource: Datasource
}) {
if (await this.checkDatasourceValidity(integration, datasource)) {
if (!(await this.checkDatasourceValidity(integration, datasource)).valid) {
throw new Error("Unable to connect")
}

Expand Down

0 comments on commit fd388c3

Please sign in to comment.