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

Nested resource promise empty array #1150

Closed
marekpw opened this issue May 22, 2015 · 0 comments
Closed

Nested resource promise empty array #1150

marekpw opened this issue May 22, 2015 · 0 comments

Comments

@marekpw
Copy link

marekpw commented May 22, 2015

I'm doing something fairly simple and according to the documentation:

Restangular.one('titles', 1).getList('reviews').then(function(result) {
    console.log(result);
});

Unfortunately the result is always an empty array no matter what I do. When I look at the Network tab of Firefox, a correct GET request is fired and the response is also correct, but Restangular will just give me an empty array.

@marekpw marekpw closed this as completed Sep 15, 2017
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

1 participant