client/src/api/index.js
author ymh <ymh.work@gmail.com>
Thu, 20 Jul 2017 11:23:08 +0200
changeset 124 c77570164050
parent 62 b2514a9bcd49
permissions -rw-r--r--
implement soft delete and indicator that session and notes have been modiied


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

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