👕 Fix lint issue

This commit is contained in:
Jan Oberhauser 2021-06-25 15:52:57 +02:00
parent 876cf7323d
commit 004979f592

View file

@ -73,10 +73,8 @@ export async function ghostApiRequestAllItems(this: IHookFunctions | IExecuteFun
query.limit = 50; query.limit = 50;
query.page = 1; query.page = 1;
let uri: string | undefined;
do { do {
responseData = await ghostApiRequest.call(this, method, endpoint, body, query, uri); responseData = await ghostApiRequest.call(this, method, endpoint, body, query);
query.page = responseData.meta.pagination.next; query.page = responseData.meta.pagination.next;
returnData.push.apply(returnData, responseData[propertyName]); returnData.push.apply(returnData, responseData[propertyName]);
} while ( } while (