We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e9497f7 commit c7e2100Copy full SHA for c7e2100
components/caspio/caspio.app.mjs
@@ -15,8 +15,13 @@ export default {
15
},
16
17
methods: {
18
+ _domain() {
19
+ return this.$auth.domain.endsWith("/")
20
+ ? this.$auth.domain.slice(0, -1)
21
+ : this.$auth.domain;
22
+ },
23
_baseUrl() {
- return `${this.$auth.domain}/integrations/rest/v3`;
24
+ return `${this._domain()}/integrations/rest/v3`;
25
26
_makeRequest({
27
$ = this, path, ...opts
0 commit comments