Fix missing prop on meeting object

This commit is contained in:
Oswaldo Acauan 2017-07-18 10:23:16 -03:00
parent 6f2e3936b1
commit 04b6b753fe

View File

@ -11,11 +11,14 @@ export default function addMeeting(meeting) {
check(meetingId, String);
const selector = {
'meetingProp.intId': meetingId,
meetingId,
};
const modifier = {
$set: flat(meeting),
$set: Object.assign(
{ meetingId },
flat(meeting),
),
};
const cb = (err, numChanged) => {