🔀 Small improvements on Hunter-Node

This commit is contained in:
Jan Oberhauser
2020-01-24 17:01:11 -08:00
parent eab4df1afd
commit 756d27e902
2 changed files with 55 additions and 12 deletions

View File

@@ -45,7 +45,7 @@ export async function hunterApiRequestAllItems(this: IHookFunctions | IExecuteFu
do {
responseData = await hunterApiRequest.call(this, method, resource, body, query);
returnData.push.apply(returnData, responseData[propertyName]);
returnData.push(responseData[propertyName]);
query.offset += query.limit;
} while (
responseData.meta !== undefined &&