client/src/api/index.js
author ymh <ymh.work@gmail.com>
Mon, 03 Dec 2018 17:53:37 +0100
changeset 190 01ad654237d5
parent 62 b2514a9bcd49
permissions -rw-r--r--
Correct color background display in session summary


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

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