File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 1- import { host , restApiRoot , port } from '~/server/config.json' ;
1+ import { host , restApiRoot , port } from '~/server/config.json' ;
22import axios from 'axios' ;
33
44const 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 */
5656const interceptResErrors = ( err ) => {
Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments