Skip to content

Commit

Permalink
fix(auth): fix eslint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
Walker Leite committed Mar 29, 2018
1 parent 4bac1b6 commit 154897e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion template/client/store/modules/auth/actions.js
Original file line number Diff line number Diff line change
Expand Up @@ -71,9 +71,10 @@ export function signIn({commit, dispatch, state}, {email, password}) {
* @param {Function} commit commit mutations function
* @return {Promise} promise of the logout
*/
export function signOut({commit}) {
export function signOut({commit, state}) {
return loopback
.post('/Accounts/logout', {
// eslint-disable-next-line dot-notation
accessToken: state['access_token'],
})
.then(() => {
Expand Down

0 comments on commit 154897e

Please sign in to comment.