client/src/api/index.js
author ymh <ymh.work@gmail.com>
Tue, 18 Dec 2018 02:27:22 +0100
changeset 199 c78d579f4b55
parent 62 b2514a9bcd49
permissions -rw-r--r--
Correct the registration screen. First version of a password reset screen.


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

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