apps-script-samples icon indicating copy to clipboard operation
apps-script-samples copied to clipboard

Fix paging examples to continue on empty page

Open sqrrrl opened this issue 1 year ago • 1 comments

Description

Fix the paging examples to handle empty pages. The loop should only stop if nextPageToken is not provided in the response.

Fixes # (issue)

Is it been tested?

  • [ ] Development testing done

Checklist

  • [ ] My code follows the style guidelines of this project
  • [ ] I have performed a self-review of my own code
  • [ ] I have performed a peer-reviewed with team member(s)
  • [ ] I have commented my code, particularly in hard-to-understand areas
  • [ ] I have made corresponding changes to the documentation
  • [ ] My changes generate no new warnings
  • [ ] Any dependent changes have been merged and published in downstream modules

sqrrrl avatar Dec 13 '23 16:12 sqrrrl

🤖 I detect that the PR title and the commit message differ and there's only one commit. To use the PR title for the commit history, you can use Github's automerge feature with squashing, or use automerge label. Good luck human!

-- conventional-commit-lint bot https://conventionalcommits.org/