Skip to content

Commit

Permalink
fix(loopback): fix lint errors
Browse files Browse the repository at this point in the history
Walker Leite committed Apr 26, 2018
1 parent df428c7 commit 3086f12
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions template/client/services/loopback.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { host, restApiRoot, port } from '~/server/config.json';
import {host, restApiRoot, port} from '~/server/config.json';
import axios from 'axios';

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

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

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

0 comments on commit 3086f12

Please sign in to comment.