bigbluebutton-Github/bigbluebutton-html5/imports/ui/components/whiteboard/shape-group/service.js
2017-06-22 14:24:00 -03:00

16 lines
236 B
JavaScript
Executable File

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