bigbluebutton-Github/bigbluebutton-html5/imports/api/user-reaction/server/handlers/setUserReaction.js
2023-06-07 22:10:07 -03:00

8 lines
228 B
JavaScript

import addUserReaction from '../modifiers/addUserReaction';
export default function handleSetUserReaction({ body }, meetingId) {
const { userId, reactionEmoji } = body;
addUserReaction(meetingId, userId, reactionEmoji);
}