scotthovestadt / gigya

Gigya JavaScript REST SDK
MIT License
38 stars 61 forks source link

Fixed extra request when all objects have been received #6

Closed alexscheelmeyer closed 8 years ago

alexscheelmeyer commented 8 years ago

I noticed that Gigya can set the nextCursorId property in the response even though all objects have been received. This causes node-gigya to do an extra request which ends up returning 0 objects.

This change will check if all objects have been received to avoid the superfluous request.

scotthovestadt commented 8 years ago

Thanks!