11 lines
272 B
JavaScript
11 lines
272 B
JavaScript
import { check } from 'meteor/check';
|
|
|
|
import userLeftFlag from '../modifiers/userLeftFlagUpdated';
|
|
|
|
export default function handleUserLeftFlag({ body }, meetingId) {
|
|
const user = body;
|
|
check(user, Object);
|
|
|
|
userLeftFlag(meetingId, user.intId, user.userLeftFlag);
|
|
}
|