2022-04-01 03:40:07 +08:00
|
|
|
import setTranscript from '/imports/api/audio-captions/server/modifiers/setTranscript';
|
|
|
|
|
|
|
|
export default function transcriptUpdated({ header, body }) {
|
|
|
|
const { meetingId } = header;
|
|
|
|
|
2022-04-13 23:00:45 +08:00
|
|
|
const {
|
|
|
|
transcriptId,
|
|
|
|
transcript,
|
|
|
|
} = body;
|
2022-04-01 03:40:07 +08:00
|
|
|
|
2022-04-13 23:00:45 +08:00
|
|
|
setTranscript(meetingId, transcriptId, transcript);
|
2022-04-01 03:40:07 +08:00
|
|
|
}
|