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

13 lines
309 B
JavaScript
Raw Normal View History

import setTranscript from '/imports/api/audio-captions/server/modifiers/setTranscript';
export default async function transcriptUpdated({ header, body }) {
const { meetingId } = header;
const {
transcriptId,
transcript,
} = body;
await setTranscript(meetingId, transcriptId, transcript);
}