bigbluebutton-Github/bigbluebutton-html5/imports/api/2.0/slides/server/handlers/slideChange.js
2017-06-30 15:16:00 -04:00

12 lines
339 B
JavaScript

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