bigbluebutton-Github/bigbluebutton-html5/imports/ui/components/whiteboard/shape-group/service.js
2017-02-23 10:20:45 -08:00

17 lines
247 B
JavaScript
Executable File

import Shapes from '/imports/api/shapes';
const getCurrentShapes = (whiteboardId) => {
if (!whiteboardId) {
return null;
}
return Shapes.find({
whiteboardId: whiteboardId,
}).fetch();
};
export default {
getCurrentShapes,
};