9 lines
259 B
JavaScript
9 lines
259 B
JavaScript
import Breakouts from '/imports/api/breakouts';
|
|
import Logger from '/imports/startup/server/logger';
|
|
|
|
export default function (meetingId) {
|
|
return Breakouts.remove({
|
|
breakoutMeetingId: meetingId,
|
|
}, Logger.info(`Cleared Breakouts (${meetingId})`));
|
|
}
|