bigbluebutton-Github/bigbluebutton-html5/imports/api/timer/server/methods/activateTimer.js
2023-05-18 15:29:31 -03:00

11 lines
355 B
JavaScript

import { check } from 'meteor/check';
import updateTimer from '/imports/api/timer/server/modifiers/updateTimer';
import { extractCredentials } from '/imports/api/common/server/helpers';
export default function activateTimer() {
const { meetingId } = extractCredentials(this.userId);
check(meetingId, String);
updateTimer('activate', meetingId);
}