client/src/api/index.js
author ymh <ymh.work@gmail.com>
Thu, 22 Jun 2017 12:09:48 +0200
changeset 74 043477fd5c5c
parent 62 b2514a9bcd49
permissions -rw-r--r--
add api call to save notes. internally use ts for time data for notes and session


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

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