more tslint changes

This commit is contained in:
quansenB
2019-11-03 21:49:49 +01:00
parent bc6acaff72
commit 7da53ad943
7 changed files with 13 additions and 13 deletions

View File

@@ -105,12 +105,12 @@ export async function activeCampaignApiRequestAllItems(this: IHookFunctions | IE
if (dataKey === undefined) {
returnData.push.apply(returnData, responseData);
if (returnData != undefined) {
if (returnData !== undefined) {
itemsReceived += returnData.length;
}
} else {
returnData.push.apply(returnData, responseData[dataKey]);
if (responseData[dataKey] != undefined) {
if (responseData[dataKey] !== undefined) {
itemsReceived += responseData[dataKey].length;
}
}