Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(github): fetch pages only if there are more than one #15

Merged
merged 2 commits into from
Feb 20, 2016

Conversation

mcbuddha
Copy link
Contributor

@mcbuddha mcbuddha commented Feb 2, 2016

No description provided.

@thenonameguy
Copy link
Collaborator

LGTM and thanks! 👍

requests (map #(make-request config {:page %}) pages)
rest-responses (pmap #(call-api end-point %) requests)]
(into (:body first-response) (flatten (map :body rest-responses)))))
links (:_links first-response)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please rename this back to :links.

raszi added a commit that referenced this pull request Feb 20, 2016
fetch pages only if there are more than one
@raszi raszi merged commit b6b738f into ekataglobal:master Feb 20, 2016
@raszi raszi changed the title fetch pages only if there are more than one fix(github): fetch pages only if there are more than one Mar 5, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants