2018-04-06 04:56:41 +08:00
|
|
|
import { check } from 'meteor/check';
|
|
|
|
import removePresentationPod from '../modifiers/removePresentationPod';
|
|
|
|
|
2023-03-15 03:50:35 +08:00
|
|
|
export default async function handleRemovePresentationPod({ body }, meetingId) {
|
2018-04-06 04:56:41 +08:00
|
|
|
check(body, Object);
|
|
|
|
check(meetingId, String);
|
|
|
|
|
|
|
|
const { podId } = body;
|
|
|
|
|
|
|
|
check(podId, String);
|
|
|
|
|
2023-03-15 03:50:35 +08:00
|
|
|
await removePresentationPod(meetingId, podId);
|
2018-04-06 04:56:41 +08:00
|
|
|
}
|