Fix missing prop on meeting object
This commit is contained in:
parent
6f2e3936b1
commit
04b6b753fe
@ -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) => {
|
||||
|
Loading…
Reference in New Issue
Block a user