Small improvements to Mailjet-Node

This commit is contained in:
Jan Oberhauser
2020-02-14 16:56:22 -08:00
parent 202f7ada03
commit 91e5b7fde2
4 changed files with 165 additions and 119 deletions

View File

@@ -52,7 +52,6 @@ export async function mailjetApiRequestAllItems(this: IExecuteFunctions | IHookF
query.Offset = 0;
do {
query.Offset;
responseData = await mailjetApiRequest.call(this, method, endpoint, body, query, undefined, { resolveWithFullResponse: true });
returnData.push.apply(returnData, responseData.body);
query.Offset = query.Offset + query.Limit;