10 lines
257 B
JavaScript
10 lines
257 B
JavaScript
import { check } from 'meteor/check';
|
|
import addGroupChat from '../modifiers/addGroupChat';
|
|
|
|
export default function handleGroupChatCreated({ body }, meetingId) {
|
|
check(meetingId, String);
|
|
check(body, Object);
|
|
|
|
return addGroupChat(meetingId, body);
|
|
}
|