client/src/api/index.js
author ymh <ymh.work@gmail.com>
Tue, 25 Jul 2017 19:11:26 +0200
changeset 128 34a75bd8d0b9
parent 62 b2514a9bcd49
permissions -rw-r--r--
add filter on session and node list to recover specific objects


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

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