Minor improvements to Bitly-Node

This commit is contained in:
Jan Oberhauser
2020-01-26 21:47:41 -08:00
parent 13e80b3832
commit a5c4252abc
3 changed files with 41 additions and 47 deletions

View File

@@ -48,7 +48,7 @@ export async function bitlyApiRequestAllItems(this: IHookFunctions | IExecuteFun
returnData.push.apply(returnData, responseData[propertyName]);
if (responseData.pagination && responseData.pagination.next) {
uri = responseData.pagination.next;
};
}
} while (
responseData.pagination !== undefined &&
responseData.pagination.next !== undefined