client/src/api/index.js
author salimr <riwad.salim@yahoo.fr>
Mon, 08 Oct 2018 03:24:47 +0200
changeset 159 a4705c2b4544
parent 62 b2514a9bcd49
permissions -rw-r--r--
Add send note options to the editor


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

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