bigbluebutton-Github/bigbluebutton-html5/imports/api/shapes/server/publications.js

9 lines
189 B
JavaScript
Raw Normal View History

2016-05-17 02:05:44 +08:00
import Shapes from '/imports/api/shapes';
2016-05-17 02:12:27 +08:00
Meteor.publish('shapes', function (credentials) {
const { meetingId } = credentials;
return Shapes.find({
meetingId: meetingId,
});
});