Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ export default {
key: "jotform-get-form-submissions",
name: "Get Form Submissions",
description: "Gets a list of form responses [See the docs here](https://api.jotform.com/docs/#form-id-submissions)",
version: "0.1.3",
version: "0.1.4",
type: "action",
props: {
...common.props,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ export default {
key: "jotform-get-monthly-user-usage",
name: "Get Monthly User Usage",
description: "Gets number of form submissions received this month. Also, get number of SSL form submissions, payment form submissions and upload space used by user [See the docs here](https://api.jotform.com/docs/#user-usage)",
version: "0.0.6",
version: "0.0.7",
type: "action",
props: {
...common.props,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ export default {
key: "jotform-get-user-submissions",
name: "Get User Submissions",
description: "Gets a list of all submissions for all forms on the account [See the docs here](https://api.jotform.com/docs/#user-submissions)",
version: "0.1.3",
version: "0.1.4",
type: "action",
props: {
...common.props,
Expand Down
13 changes: 3 additions & 10 deletions components/jotform/jotform.app.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -100,16 +100,9 @@ export default {
},
methods: {
_getBaseUrl() {
let baseUrl = `https://${this.$auth.region}.jotform.com/`;
const standardSubdomains = [
"api",
"eu-api",
"hipaa-api",
];
if (!standardSubdomains.includes(this.$auth.region)) {
baseUrl += "API/";
}
return baseUrl;
return this.$auth.subdomain
? `https://${this.$auth.subdomain}.jotform.com/API/`
: `https://${this.$auth.region}.jotform.com/`;
},
_ensureTrailingSlash(str) {
return (str.endsWith("/"))
Expand Down
2 changes: 1 addition & 1 deletion components/jotform/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@pipedream/jotform",
"version": "0.4.12",
"version": "0.4.13",
"description": "Pipedream Jotform Components",
"main": "jotform.app.mjs",
"keywords": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ export default {
key: "jotform-new-submission",
name: "New Submission (Instant)",
description: "Emit new event when a form is submitted",
version: "0.1.5",
version: "0.1.6",
type: "source",
dedupe: "unique",
props: {
Expand Down
Loading