Skip to content

Commit

Permalink
Update example
Browse files Browse the repository at this point in the history
It seems that `first_page` data structure contains the key `:nextRecordsUrl` and not `"nextRecordsUrl"`
  • Loading branch information
Aaron Foster Breilyn and Steven Solomon committed Oct 17, 2019
1 parent e15564a commit 37131d8
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 @@ -108,7 +108,7 @@ client = Forcex.Client.login |> Forcex.Client.locate_services

first_page = Forcex.query("select Id, Name from Account order by CreatedDate desc", client)

second_page = first_page |> Map.get("nextRecordsUrl") |> Forcex.get(client)
second_page = first_page |> Map.get(:nextRecordsUrl) |> Forcex.get(client)
```

## Further Configuration
Expand Down

0 comments on commit 37131d8

Please sign in to comment.