Skip to content

Commit

Permalink
Merge branch 'master' into migrate-router-to-react
Browse files Browse the repository at this point in the history
  • Loading branch information
kravets-levko committed Jan 20, 2020
2 parents a92d1fa + ebcec85 commit 2755e12
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion client/app/services/axios.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
import axiosLib from "axios";
import { Auth } from "@/services/auth";
import qs from "query-string";

export const axios = axiosLib.create();
export const axios = axiosLib.create({
paramsSerializer: params => qs.stringify(params),
});

const getData = ({ data }) => data;
const getResponse = ({ response }) => Promise.reject(response);
Expand Down

0 comments on commit 2755e12

Please sign in to comment.