--- a/client/src/sagas/SessionSyncronizer.js Mon Jul 31 23:18:38 2017 +0200
+++ b/client/src/sagas/SessionSyncronizer.js Tue Aug 01 12:20:14 2017 +0200
@@ -42,18 +42,20 @@
date: localObjInst.get('date'),
title: localObjInst.get('title'),
description: localObjInst.get('description'),
+ group: localObjInst.get('group'),
protocol: ''
};
}
getLocalRecord(remoteObj) {
- return new SessionRecord({
+ return SessionRecord({
_id: remoteObj.ext_id,
title: remoteObj.title,
description: remoteObj.description,
date: moment(remoteObj.date).toDate(),
action: ActionEnum.NONE,
- group: null
+ group: remoteObj.group,
+ protocol: remoteObj.protocol,
});
}