From 154897e7d1d32156e52066db7d861894702978e0 Mon Sep 17 00:00:00 2001 From: Walker Leite Date: Thu, 29 Mar 2018 11:33:10 -0300 Subject: [PATCH] fix(auth): fix eslint errors --- template/client/store/modules/auth/actions.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/template/client/store/modules/auth/actions.js b/template/client/store/modules/auth/actions.js index 83256a1..afd8c93 100644 --- a/template/client/store/modules/auth/actions.js +++ b/template/client/store/modules/auth/actions.js @@ -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(() => {