diff --git a/bigbluebutton-html5/imports/api/annotations/server/methods/sendAnnotation.js b/bigbluebutton-html5/imports/api/annotations/server/methods/sendAnnotation.js index 1ae54425a6..33c78a66e0 100755 --- a/bigbluebutton-html5/imports/api/annotations/server/methods/sendAnnotation.js +++ b/bigbluebutton-html5/imports/api/annotations/server/methods/sendAnnotation.js @@ -22,12 +22,13 @@ function isLastMessage(meetingId, annotation, userId) { return false; } -export default function sendAnnotation(credentials, annotation, whiteboardId) { +export default function sendAnnotation(credentials, annotation) { const REDIS_CONFIG = Meteor.settings.private.redis; const CHANNEL = REDIS_CONFIG.channels.toAkkaApps; const EVENT_NAME = 'SendWhiteboardAnnotationPubMsg'; const { meetingId, requesterUserId, requesterToken } = credentials; + const whiteboardId = annotation.wbId; check(meetingId, String); check(requesterUserId, String);