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

9 lines
327 B
JavaScript
Raw Normal View History

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