Fix hubspotApiRequestAllItems for some (#1781)

This commit is contained in:
DeskYT 2021-05-13 01:21:18 +03:00 committed by GitHub
parent 1888f5c4a5
commit 40510a7ab4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -76,9 +76,7 @@ export async function hubspotApiRequestAllItems(this: IHookFunctions | IExecuteF
return returnData;
}
} while (
responseData['has-more'] !== undefined &&
responseData['has-more'] !== null &&
responseData['has-more'] !== false
responseData['hasMore'] || responseData['has-more']
);
return returnData;
}