mirror of
https://github.com/n8n-io/n8n.git
synced 2024-12-23 11:44:06 -08:00
👕 Fix lint issue
This commit is contained in:
parent
876cf7323d
commit
004979f592
|
@ -73,10 +73,8 @@ export async function ghostApiRequestAllItems(this: IHookFunctions | IExecuteFun
|
|||
query.limit = 50;
|
||||
query.page = 1;
|
||||
|
||||
let uri: string | undefined;
|
||||
|
||||
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;
|
||||
returnData.push.apply(returnData, responseData[propertyName]);
|
||||
} while (
|
||||
|
|
Loading…
Reference in a new issue