bigbluebutton-Github/bigbluebutton-html5/imports/api/polls/server/handlers/pollPublished.js
2017-10-11 18:09:35 -07:00

11 lines
249 B
JavaScript

import { check } from 'meteor/check';
import removePoll from '../modifiers/removePoll';
export default function pollPublished({ body }, meetingId) {
const { pollId } = body;
check(meetingId, String);
return removePoll(meetingId, pollId);
}