bigbluebutton-Github/bigbluebutton-html5/imports/api/slides/server/handlers/slideChange.js
2018-04-09 12:48:37 -07:00

13 lines
377 B
JavaScript

import { check } from 'meteor/check';
import changeCurrentSlide from '../modifiers/changeCurrentSlide';
export default function handleSlideChange({ body }, meetingId) {
const { pageId, presentationId, podId } = body;
check(pageId, String);
check(presentationId, String);
check(podId, String);
return changeCurrentSlide(meetingId, podId, presentationId, pageId);
}