6c84a3295b
Revoked extra frontend permission checks and removed dependency from external video stop Meteor's system call.
14 lines
390 B
JavaScript
14 lines
390 B
JavaScript
import { check } from 'meteor/check';
|
|
import startExternalVideo from '../modifiers/startExternalVideo';
|
|
|
|
export default function handleStartExternalVideo({ header, body }, meetingId) {
|
|
check(header, Object);
|
|
check(body, Object);
|
|
check(meetingId, String);
|
|
|
|
const { userId } = header;
|
|
const { externalVideoUrl } = body;
|
|
|
|
startExternalVideo(meetingId, userId, externalVideoUrl);
|
|
}
|