2020-02-07 04:47:28 +08:00
|
|
|
import sendAnnotationHelper from './sendAnnotationHelper';
|
|
|
|
import { extractCredentials } from '/imports/api/common/server/helpers';
|
2017-05-02 05:34:24 +08:00
|
|
|
|
2020-02-07 04:47:28 +08:00
|
|
|
export default function sendAnnotation(annotation) {
|
|
|
|
const { meetingId, requesterUserId } = extractCredentials(this.userId);
|
2018-08-01 21:21:33 +08:00
|
|
|
|
2020-02-07 04:47:28 +08:00
|
|
|
sendAnnotationHelper(annotation, meetingId, requesterUserId);
|
2017-05-02 05:34:24 +08:00
|
|
|
}
|