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

Album: change json field for TotalMediaItems #6

Merged

Conversation

kelvie
Copy link
Contributor

@kelvie kelvie commented Jun 1, 2020

It's actually mediaItemsCount -- not sure if this changed, but there definitely
isn't a totalMediaItems field in the response [1]

I didn't change the actual struct member in case others use this library, and
to avoid a version bump.

[1] https://developers.google.com/photos/library/reference/rest/v1/albums

Signed-off-by: Kelvie Wong kelvie@kelvie.ca

It's actually mediaItemsCount -- not sure if this changed, but there definitely
isn't a `totalMediaItems` field in the response [1]

I didn't change the actual struct member in case others use this library, and
to avoid a version bump.

[1] https://developers.google.com/photos/library/reference/rest/v1/albums

Signed-off-by: Kelvie Wong <kelvie@kelvie.ca>
@pacoorozco
Copy link
Member

Hi @kelvie

Good catch... This explains a bug I was observing since ever, so it will probably fix it.

@pacoorozco pacoorozco merged commit 4182fa5 into gphotosuploader:master Jun 2, 2020
@kelvie kelvie deleted the albums-totalmediaitems-fix branch June 2, 2020 06:48
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

Successfully merging this pull request may close these issues.

None yet

2 participants