bigbluebutton-Github/bigbluebutton-html5/imports/api/group-chat/server/handlers/groupChatCreated.js
2023-03-20 16:37:51 -03:00

10 lines
262 B
JavaScript

import { check } from 'meteor/check';
import addGroupChat from '../modifiers/addGroupChat';
export default async function handleGroupChatCreated({ body }, meetingId) {
check(meetingId, String);
check(body, Object);
await addGroupChat(meetingId, body);
}