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

A bug in authService of the 17-user-crm #53

Open
sychen41 opened this issue Dec 16, 2016 · 1 comment
Open

A bug in authService of the 17-user-crm #53

sychen41 opened this issue Dec 16, 2016 · 1 comment

Comments

@sychen41
Copy link

At line 23 and 24 of authService.js, use "data.data.token" and "return data.data" instead, because the "data" object has many other properties and the "data" property of it is what we need here.

@miguelleite
Copy link

miguelleite commented Apr 9, 2017

@sychen41, @sevilayha:

For me, the same happens on userCtrl.js, where the same happens for example, for grabbing all users:

vm.users = data.data; // we need to use data.data instead of data

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