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

'Argument 'fn' is not a function, got object' error when response contains more then one page #22

Open
evdoks opened this issue Jun 19, 2015 · 1 comment

Comments

@evdoks
Copy link

evdoks commented Jun 19, 2015

.query request throws Argument 'fn' is not a function, got object error of the response contains more than one page.

The problem seems to be caused by line

$http(next_config).success(function(next_data) { recursivePaginator(next_data); }).error(error);

which has error=null. An easy fix would be to initialise error with noop (as it is done with success).

@mihaelfi
Copy link

Did you manage to solve this issue ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants