Skip to content

Commit

Permalink
fix: update axios and fix default value for (#277)
Browse files Browse the repository at this point in the history
  • Loading branch information
jhpedemonte committed Oct 3, 2021
1 parent 962ff5b commit 4d4c45d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/apisauce.ts
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ export const create = config => {
/**
* Make the request for POST, PUT, PATCH
*/
const doRequestWithBody = (method, url, data = null, axiosConfig = {}) => {
const doRequestWithBody = (method, url, data, axiosConfig = {}) => {
return doRequest(merge({ url, method, data }, axiosConfig))
}

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
]
},
"dependencies": {
"axios": "^0.21.1",
"axios": "^0.21.4",
"ramda": "^0.25.0"
},
"description": "Axios + standardized errors + request/response transforms.",
Expand Down

0 comments on commit 4d4c45d

Please sign in to comment.