Skip to content

Commit

Permalink
Quick fix NextPage() to Fetch()
Browse files Browse the repository at this point in the history
  • Loading branch information
joannasese committed May 1, 2020
1 parent fc16af7 commit 5f30cbf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ After fetching the last page, `HasMore` will be false.

```go
for accounts.HasMore {
err := accounts.NextPage()
err := accounts.Fetch()
if err {
fmt.Printf("Failed to retrieve next page: %v", err)
break
Expand Down

0 comments on commit 5f30cbf

Please sign in to comment.