diff --git a/README.md b/README.md index 8dd3b71..1bd7829 100644 --- a/README.md +++ b/README.md @@ -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); });