Skip to content

Commit

Permalink
Merge branch 'n8n-io:master' into master
Browse files Browse the repository at this point in the history
  • Loading branch information
quansenB authored Dec 3, 2021
2 parents ded57ac + 95a9019 commit 5698822
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/nodes-base/nodes/Google/BigQuery/GenericFunctions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,11 +56,11 @@ export async function googleApiRequestAllItems(this: IExecuteFunctions | ILoadOp

do {
responseData = await googleApiRequest.call(this, method, endpoint, body, query);
query.pageToken = responseData['nextPageToken'];
query.pageToken = responseData['pageToken'];
returnData.push.apply(returnData, responseData[propertyName]);
} while (
responseData['nextPageToken'] !== undefined &&
responseData['nextPageToken'] !== ''
responseData['pageToken'] !== undefined &&
responseData['pageToken'] !== ''
);

return returnData;
Expand Down

0 comments on commit 5698822

Please sign in to comment.