13 lines
334 B
JavaScript
13 lines
334 B
JavaScript
import { check } from 'meteor/check';
|
|
|
|
import removePresentation from '../modifiers/removePresentation';
|
|
|
|
export default function handlePresentationRemove({ body }, meetingId) {
|
|
const { presentationId } = body;
|
|
|
|
check(meetingId, String);
|
|
check(presentationId, String);
|
|
|
|
return removePresentation(meetingId, presentationId);
|
|
}
|