Skip to content

Commit

Permalink
Fixed delete method http request
Browse files Browse the repository at this point in the history
  • Loading branch information
zugarzeeker committed Sep 15, 2016
1 parent 3ade83a commit c176ec6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ export const createInteractor = (actions) => {
promise: (client) => client[method](url, { data, params })
});
const httpRequest = {};
const methods = ['get', 'put', 'post', 'delete', 'patch'];
const methods = ['get', 'put', 'post', 'del', 'patch'];
methods.map((method) => {
return httpRequest[method] = formRequest(method);
});
Expand Down

0 comments on commit c176ec6

Please sign in to comment.