2016-11-12 03:02:46 +08:00
|
|
|
import { check } from 'meteor/check';
|
|
|
|
|
|
|
|
import removePresentation from '../modifiers/removePresentation';
|
|
|
|
|
2017-10-12 08:40:51 +08:00
|
|
|
export default function handlePresentationRemove({ body }, meetingId) {
|
2018-04-10 03:48:37 +08:00
|
|
|
const { podId, presentationId } = body;
|
2016-11-12 03:02:46 +08:00
|
|
|
|
|
|
|
check(meetingId, String);
|
2019-02-12 07:02:32 +08:00
|
|
|
check(podId, String);
|
2016-11-12 03:02:46 +08:00
|
|
|
check(presentationId, String);
|
|
|
|
|
2018-04-10 03:48:37 +08:00
|
|
|
return removePresentation(meetingId, podId, presentationId);
|
2017-06-03 03:25:02 +08:00
|
|
|
}
|