Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wrong Query Parameter #1

Open
marius-eichenberg opened this issue Mar 21, 2021 · 0 comments
Open

Wrong Query Parameter #1

marius-eichenberg opened this issue Mar 21, 2021 · 0 comments

Comments

@marius-eichenberg
Copy link

Referring to

params.url = url + (pageToken ? `&nextPageToken=${pageToken}` : "");

As Is: nextPageToken is used as a query parameter, this leads to an error.

Should be: pageToken is the correct query parameter. Please see docs as reference: https://developers.google.com/photos/library/reference/rest/v1/albums/list

Note: I only tested GetAlbumList, but I assume the same error occurs for GetMediaItemList, see https://github.com/tanaikech/GPhotoApp/blob/master/GPhotoApp.js#L131

By the way: Nice library. Very useful. Thank you 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant