client/src/sagas/index.js
changeset 58 f16a080e0bc4
parent 57 2e4e9f9ebc4f
child 59 1eb52770eefa
--- a/client/src/sagas/index.js	Mon Jun 19 18:32:27 2017 +0200
+++ b/client/src/sagas/index.js	Mon Jun 19 21:37:33 2017 +0200
@@ -28,10 +28,11 @@
 // ---
 
 export function* createSession(action) {
-  const response = yield sessionsDB.put(action.session);
+  //const response = yield sessionsDB.put(action.session);
   // TODO Error control
-  const session = Object.assign({}, action.session, { rev: response.rev });
-  yield put({ type: types.CREATE_SESSION, session: session })
+  //const session = Object.assign({}, action.session, { rev: response.rev });
+  //yield put({ type: types.CREATE_SESSION, session: session })
+  yield console.log("CREATE SESSION", action);
 }
 
 export function* watchCreateSession() {