client/src/api/index.js
author ymh <ymh.work@gmail.com>
Mon, 03 Sep 2018 11:57:58 +0200
changeset 153 de8d18c8251d
parent 62 b2514a9bcd49
permissions -rw-r--r--
Remove reference to bootstrap-sass after migration to bootstrap 4


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

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