bigbluebutton-Github/bigbluebutton-html5/imports/api/slides/server/handlers/slideChange.js

13 lines
377 B
JavaScript
Raw Normal View History

2016-10-21 19:41:17 +08:00
import { check } from 'meteor/check';
import changeCurrentSlide from '../modifiers/changeCurrentSlide';
2017-10-12 08:59:35 +08:00
export default function handleSlideChange({ body }, meetingId) {
const { pageId, presentationId, podId } = body;
2016-10-21 19:41:17 +08:00
2017-10-12 08:59:35 +08:00
check(pageId, String);
check(presentationId, String);
check(podId, String);
2016-10-21 19:41:17 +08:00
return changeCurrentSlide(meetingId, podId, presentationId, pageId);
2017-06-03 03:25:02 +08:00
}