6c84a3295b
Revoked extra frontend permission checks and removed dependency from external video stop Meteor's system call.
20 lines
432 B
JavaScript
20 lines
432 B
JavaScript
import { check } from 'meteor/check';
|
|
import updateExternalVideo from '../modifiers/updateExternalVideo';
|
|
|
|
export default function handleUpdateExternalVideo({ header, body }, meetingId) {
|
|
check(header, Object);
|
|
check(body, Object);
|
|
check(meetingId, String);
|
|
|
|
const { userId } = header;
|
|
|
|
const {
|
|
status,
|
|
rate,
|
|
time,
|
|
state,
|
|
} = body;
|
|
|
|
updateExternalVideo(meetingId, userId, status, rate, time, state);
|
|
}
|