bigbluebutton-Github/bigbluebutton-html5/imports/api/captions/server/handlers/captionsOwnerUpdated.js

12 lines
305 B
JavaScript
Raw Normal View History

import updateCaptionsOwner from '/imports/api/captions/server/modifiers/updateCaptionsOwner';
export default async function captionsOwnerUpdated({ header, body }) {
const { meetingId } = header;
const {
locale,
ownerId,
} = body;
await updateCaptionsOwner(meetingId, locale, ownerId);
}