mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-16 17:46:45 +00:00
fix(JotForm Trigger Node): Fix iteration on form loader (#7751)
https://n8nio.sentry.io/issues/4636463129
This commit is contained in:
@@ -88,6 +88,9 @@ export class JotFormTrigger implements INodeType {
|
|||||||
limit: 1000,
|
limit: 1000,
|
||||||
};
|
};
|
||||||
const forms = await jotformApiRequest.call(this, 'GET', '/user/forms', {}, qs);
|
const forms = await jotformApiRequest.call(this, 'GET', '/user/forms', {}, qs);
|
||||||
|
|
||||||
|
if (!Array.isArray(forms?.content)) return [];
|
||||||
|
|
||||||
for (const form of forms.content) {
|
for (const form of forms.content) {
|
||||||
const formName = form.title;
|
const formName = form.title;
|
||||||
const formId = form.id;
|
const formId = form.id;
|
||||||
|
|||||||
Reference in New Issue
Block a user