Skip to content

Commit 154897e

Browse files
author
Walker Leite
committed
fix(auth): fix eslint errors
1 parent 4bac1b6 commit 154897e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

template/client/store/modules/auth/actions.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,9 +71,10 @@ export function signIn({commit, dispatch, state}, {email, password}) {
7171
* @param {Function} commit commit mutations function
7272
* @return {Promise} promise of the logout
7373
*/
74-
export function signOut({commit}) {
74+
export function signOut({commit, state}) {
7575
return loopback
7676
.post('/Accounts/logout', {
77+
// eslint-disable-next-line dot-notation
7778
accessToken: state['access_token'],
7879
})
7980
.then(() => {

0 commit comments

Comments
 (0)