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);
|
|
|
|
|
2022-11-04 00:41:51 +08:00
|
|
|
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
|
|
|
|
2022-11-04 00:41:51 +08:00
|
|
|
padCapture(meetingId, parentMeetingId, meetingName);
|
2022-09-25 04:59:29 +08:00
|
|
|
}
|