client/src/api/index.js
author ymh <ymh.work@gmail.com>
Wed, 19 Jul 2017 16:20:29 +0200
changeset 120 892980a3af09
parent 62 b2514a9bcd49
permissions -rw-r--r--
for notes api, the end point list all properties.


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

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