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

TypeError: this.get('hoodieAccount').signIn/Out/Up is not a function #19

Open
arunprasadr-zz opened this issue Aug 25, 2016 · 1 comment

Comments

@arunprasadr-zz
Copy link
Contributor

I’ve encountered the following error when i tried to signUp or signIn. The console throws the following error: TypeError: this.get('hoodieAccount').signIn is not a function within the signIn action.

I have the service included in my application controller.
hoodieAccount: service('hoodie-account'),

@arunprasadr-zz
Copy link
Contributor Author

arunprasadr-zz commented Aug 25, 2016

I had to use the following to fix this. (thanks @gr2m)
hoodie: service('hoodie'),
in signIn action
this.get('hoodie.account').signIn({ username, password })

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