Skip to content

Commit e1df64d

Browse files
author
Walker Leite
committed
fix(lint): fix lint errors
1 parent a2b0531 commit e1df64d

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

template/client/services/loopback.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { host, restApiRoot, port } from '~/server/config.json';
1+
import {host, restApiRoot, port} from '~/server/config.json';
22
import axios from 'axios';
33

44
const Storage = window.localStorage;
@@ -50,7 +50,7 @@ http.removeToken = () => {
5050
removeTokenFromLocalStorage();
5151
};
5252

53-
http.find = (endpoint, filter) => http.get(endpoint, { params: { filter } });
53+
http.find = (endpoint, filter) => http.get(endpoint, {params: {filter}});
5454

5555
/* Response Interceptors */
5656
const interceptResErrors = (err) => {

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ export function loadAccount({commit}, userId) {
9393
.then(acc => commit('setAccount', acc))
9494
.catch(() => {
9595
loopback.removeToken();
96-
router.push({ name: 'login' });
96+
router.push({name: 'login'});
9797
});
9898
}
9999

0 commit comments

Comments
 (0)