Skip to content

Commit 3086f12

Browse files
author
Walker Leite
committed
fix(loopback): fix lint errors
1 parent df428c7 commit 3086f12

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
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) => {

0 commit comments

Comments
 (0)