👕 Fix lint issue

This commit is contained in:
Jan Oberhauser
2020-10-22 15:46:03 +02:00
parent 5b7efd67ca
commit 40c2acd77b
491 changed files with 4045 additions and 3936 deletions

View File

@@ -22,7 +22,7 @@ export async function jotformApiRequest(this: IHookFunctions | IExecuteFunctions
qs,
form: body,
uri: uri || `https://${credentials.apiDomain || 'api.jotform.com'}${resource}`,
json: true
json: true,
};
if (!Object.keys(body).length) {
delete options.form;