bigbluebutton-Github/bigbluebutton-html5/imports/api/pads/server/handlers/captureSharedNotes.js

15 lines
377 B
JavaScript
Raw Normal View History

2022-09-25 04:59:29 +08:00
import { check } from 'meteor/check';
import padCapture from '../methods/padCapture';
export default function captureSharedNotes({ body }, meetingId) {
check(body, Object);
check(meetingId, String);
const { parentMeetingId, meetingName } = body;
2022-09-25 04:59:29 +08:00
check(parentMeetingId, String);
2022-09-29 01:56:29 +08:00
check(meetingName, String);
2022-09-25 04:59:29 +08:00
padCapture(meetingId, parentMeetingId, meetingName);
2022-09-25 04:59:29 +08:00
}