client/src/api/index.js
author salimr <riwad.salim@yahoo.fr>
Mon, 08 Oct 2018 03:30:54 +0200
changeset 160 183b128a4189
parent 62 b2514a9bcd49
permissions -rw-r--r--
Change sessions list disposition and add sessions number


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

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