client/src/api/index.js
author salimr <riwad.salim@yahoo.fr>
Fri, 31 Aug 2018 15:14:18 +0200
changeset 151 57d63a248f0d
parent 62 b2514a9bcd49
permissions -rw-r--r--
Update to Bootstrap 4


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

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