bigbluebutton-Github/bigbluebutton-html5/imports/api/2.0/polls/server/handlers/pollPublished.js
2017-06-30 11:26:19 -03: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);
}