Skip to content

Commit 7def89e

Browse files
committed
update baseUrl
1 parent a407a12 commit 7def89e

File tree

9 files changed

+11
-9
lines changed

9 files changed

+11
-9
lines changed

components/dbt/actions/get-environment/get-environment.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ export default {
44
key: "dbt-get-environment",
55
name: "Get Environment",
66
description: "Retrieve information about an environment. [See the documentation](https://docs.getdbt.com/dbt-cloud/api-v3#/operations/Retrieve%20Projects%20Environment)",
7-
version: "0.0.1",
7+
version: "0.0.2",
88
type: "action",
99
props: {
1010
dbt,

components/dbt/actions/get-run-artifact/get-run-artifact.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ export default {
44
key: "dbt-get-run-artifact",
55
name: "Get Run Artifact",
66
description: "Retrieve information about a run artifact. [See the documentation](https://docs.getdbt.com/dbt-cloud/api-v2#/operations/Retrieve%20Run%20Artifact)",
7-
version: "0.0.1",
7+
version: "0.0.2",
88
type: "action",
99
props: {
1010
dbt,

components/dbt/actions/get-run/get-run.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ export default {
44
key: "dbt-get-run",
55
name: "Get Run",
66
description: "Retrieve information about a run. [See the documentation](https://docs.getdbt.com/dbt-cloud/api-v2#/operations/Retrieve%20Run)",
7-
version: "0.0.3",
7+
version: "0.0.4",
88
type: "action",
99
props: {
1010
dbt,

components/dbt/actions/trigger-job-run/trigger-job-run.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ export default {
44
key: "dbt-trigger-job-run",
55
name: "Trigger Job Run",
66
description: "Trigger a specified job to begin running. [See the documentation](https://docs.getdbt.com/dbt-cloud/api-v2#/operations/Trigger%20Job%20Run)",
7-
version: "0.0.3",
7+
version: "0.0.4",
88
type: "action",
99
props: {
1010
dbt,

components/dbt/dbt.app.mjs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,9 @@ export default {
151151
},
152152
methods: {
153153
_baseUrl() {
154-
return "https://cloud.getdbt.com/api";
154+
return this.$auth.access_url
155+
? `${this.$auth.access_url}api`
156+
: `https://${this.$auth.region}.com/api`;
155157
},
156158
_headers() {
157159
return {

components/dbt/sources/job-run-completed/job-run-completed.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ export default {
66
key: "dbt-job-run-completed",
77
name: "Job Run Completed (Instant)",
88
description: "Emit new event when a job run has completed.",
9-
version: "0.0.1",
9+
version: "0.0.2",
1010
type: "source",
1111
dedupe: "unique",
1212
methods: {

components/dbt/sources/job-run-errored/job-run-errored.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ export default {
66
key: "dbt-job-run-errored",
77
name: "Job Run Errored (Instant)",
88
description: "Emit new event when a job run has errored.",
9-
version: "0.0.1",
9+
version: "0.0.2",
1010
type: "source",
1111
dedupe: "unique",
1212
methods: {

components/dbt/sources/job-run-started/job-run-started.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ export default {
66
key: "dbt-job-run-started",
77
name: "Job Run Started (Instant)",
88
description: "Emit new event when a job run has started.",
9-
version: "0.0.1",
9+
version: "0.0.2",
1010
type: "source",
1111
dedupe: "unique",
1212
methods: {

components/dbt/sources/new-job-run-event/new-job-run-event.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ export default {
66
key: "dbt-new-job-run-event",
77
name: "New Job Run Event (Instant)",
88
description: "Emit new event when a job run has started, errored, or completed.",
9-
version: "0.0.1",
9+
version: "0.0.2",
1010
type: "source",
1111
dedupe: "unique",
1212
props: {

0 commit comments

Comments
 (0)