Closed Mac-Genius closed 6 years ago
@Mac-Genius Thank you for reporting it with detailed information. Yeah, I see an issue. I will fix it tonight or tomorrow and make a release.
Thank you!
I have fixed the issue, affected methods are -
And published 2.15-SNAPSHOT
. Please give it try and let me know.
@Mac-Genius I hope everything seems alright, I'm closing this one. Thank you.
@jeevatkm Sorry it took me so long, everything seems to be working properly now. Thank you!
@Mac-Genius no worries, good to hear its working properly.
Description
The function
getAvailableSizes
in theDigitalOceanClient
class ignores the pageNo parameter.This happens because
pageNo
is passed to the wrongApiRequest
constructor on line 785 of theDigitalOceanClient
class.This may be an issue with other endpoints that use pagination.
Possible Fix
Instead of using this constructor:
Use the constructor that uses
pageNo
andperPage
:Then pass in the default
perPage
value on line 785 of DigitalOceanClient: