bigbluebutton-Github/bigbluebutton-html5/imports/api/polls/server/handlers/pollPublished.js

11 lines
249 B
JavaScript
Raw Normal View History

2017-06-29 04:37:45 +08:00
import { check } from 'meteor/check';
import removePoll from '../modifiers/removePoll';
2017-06-30 22:26:19 +08:00
export default function pollPublished({ body }, meetingId) {
2017-06-29 04:37:45 +08:00
const { pollId } = body;
check(meetingId, String);
return removePoll(meetingId, pollId);
}