bigbluebutton-Github/bigbluebutton-html5/imports/api/captions/server/handlers/captionsOwnerUpdated.js
2023-03-20 16:23:41 -03:00

12 lines
305 B
JavaScript

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);
}