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'),
I had to use the following to fix this. (thanks @gr2m)
hoodie: service('hoodie'),
in signIn action
this.get('hoodie.account').signIn({ username, password })
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'),