mirror of
https://github.com/n8n-io/n8n.git
synced 2024-11-09 22:24:05 -08:00
fix(JotForm Trigger Node): Fix iteration on form loader (#7751)
https://n8nio.sentry.io/issues/4636463129
This commit is contained in:
parent
6d19f88080
commit
82f3202a2d
|
@ -88,6 +88,9 @@ export class JotFormTrigger implements INodeType {
|
|||
limit: 1000,
|
||||
};
|
||||
const forms = await jotformApiRequest.call(this, 'GET', '/user/forms', {}, qs);
|
||||
|
||||
if (!Array.isArray(forms?.content)) return [];
|
||||
|
||||
for (const form of forms.content) {
|
||||
const formName = form.title;
|
||||
const formId = form.id;
|
||||
|
|
Loading…
Reference in a new issue