13 lines
394 B
JavaScript
13 lines
394 B
JavaScript
import { check } from 'meteor/check';
|
|
import modifyWhiteboardAccess from '../modifiers/modifyWhiteboardAccess';
|
|
|
|
export default function handleModifyWhiteboardAccess({ body }, meetingId) {
|
|
const { multiUser, whiteboardId } = body;
|
|
|
|
check(multiUser, Boolean);
|
|
check(whiteboardId, String);
|
|
check(meetingId, String);
|
|
|
|
return modifyWhiteboardAccess(meetingId, whiteboardId, multiUser);
|
|
}
|