client/src/api/index.js
author ymh <ymh.work@gmail.com>
Tue, 01 Aug 2017 12:20:14 +0200
changeset 132 906a6c7c7943
parent 62 b2514a9bcd49
permissions -rw-r--r--
add group to sync + create groups + various component cleaning


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

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