twilio / twilio-go

A Go package for communicating with the Twilio API.
MIT License
278 stars 40 forks source link

fix: refactor limit enforcement and fetching next page #148

Closed childish-sambino closed 2 years ago

childish-sambino commented 2 years ago

Fixes bugs where limit param was not always enforced and empty results caused an error when attempting to fetch next page.

Fixes https://github.com/twilio/twilio-go/issues/146

sonarcloud[bot] commented 2 years ago

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

91.7% 91.7% Coverage
0.0% 0.0% Duplication