bigbluebutton-Github/bigbluebutton-html5/imports/api/meetings/server/publications.js
2016-05-16 13:12:27 -05:00

11 lines
309 B
JavaScript
Executable File

import Meetings from '/imports/api/meetings';
import { logger } from '/imports/startup/server/logger';
Meteor.publish('meetings', function (credentials) {
const { meetingId } = credentials;
logger.info(`publishing meetings for ${meetingId}`);
return Meetings.find({
meetingId: meetingId,
});
});