10 lines
264 B
JavaScript
10 lines
264 B
JavaScript
import { check } from 'meteor/check';
|
|
import addGroupChat from '../modifiers/addGroupChat';
|
|
|
|
export default async function handleGroupChatDestroyed({ body }, meetingId) {
|
|
check(meetingId, String);
|
|
check(body, Object);
|
|
|
|
await addGroupChat(meetingId, body);
|
|
}
|