client/src/api/index.js
author ymh <ymh.work@gmail.com>
Sat, 06 Jul 2019 00:59:17 +0200
changeset 202 2c1d48085efc
parent 62 b2514a9bcd49
permissions -rw-r--r--
update yarn.lock + activate password reset form


export default apiClient => (effect, action) => {

  const { method, url, data } = effect;
  return apiClient.request(method, url, data);
}