Skip to content
New issue

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

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

Already on GitHub? # to your account

Verify whether the response is empty #19

Merged
merged 1 commit into from
Aug 24, 2018

Conversation

chibiegg
Copy link
Contributor

@chibiegg chibiegg commented Aug 22, 2018

Sometimes the List Albums API result is empty when last page and an error occurs.

07/25/2018 19:37:16 INFO	listAlbums nextPageToken: 	 AH_uQ4xxxxxxxxxx
07/25/2018 19:37:16 INFO	listAlbums url: 	 https://photoslibrary.googleapis.com/v1/albums?pageToken=AH_uQ4xxxxxxxxxx
07/25/2018 19:37:18 INFO	listAlbums result: 	 {
  "nextPageToken": "AH_uQ4xxxxxxxxxx"
}

This PR check whether the result is empty or not.

@chibiegg chibiegg changed the title validate for albums response is empty Verify whether the response is empty Aug 22, 2018
@stanaka stanaka merged commit c9bef42 into stanaka:master Aug 24, 2018
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants