Use start index to offset fetching of photos

This commit is contained in:
Martin Lärka
2017-12-03 20:05:14 +01:00
parent 16be781dcd
commit 105be5e523

View File

@@ -144,6 +144,7 @@ function getPhotos (accessToken, options, callback) {
options = options || {}
if (options.maxResults) accessTokenParams['max-results'] = options.maxResults
if (options.startIndex) accessTokenParams['start-index'] = options.startIndex
const albumPart = options.albumId ? `/albumid/${options.albumId}` : ''