bigbluebutton-Github/bigbluebutton-html5/imports/api/annotations/server/methods/sendAnnotation.js

9 lines
327 B
JavaScript
Executable File

import sendAnnotationHelper from './sendAnnotationHelper';
import { extractCredentials } from '/imports/api/common/server/helpers';
export default function sendAnnotation(annotation) {
const { meetingId, requesterUserId } = extractCredentials(this.userId);
sendAnnotationHelper(annotation, meetingId, requesterUserId);
}