2022-01-07 05:07:22 +08:00
|
|
|
import { check } from 'meteor/check';
|
|
|
|
|
2022-02-17 02:46:02 +08:00
|
|
|
import userLeftFlag from '../modifiers/userLeftFlagUpdated';
|
2022-01-07 05:07:22 +08:00
|
|
|
|
|
|
|
export default function handleUserLeftFlag({ body }, meetingId) {
|
|
|
|
const user = body;
|
|
|
|
check(user, Object);
|
|
|
|
|
|
|
|
userLeftFlag(meetingId, user.intId, user.userLeftFlag);
|
|
|
|
}
|