Skip to content
Snippets Groups Projects
Commit d9ae1211 authored by KDSBrowne's avatar KDSBrowne
Browse files

remove wrapping body in an object

parent 584f7e4b
No related branches found
No related tags found
No related merge requests found
import { check } from 'meteor/check';
import changeRole from '../modifiers/changeRole';
export default function handleChangeRole({ body }, meetingId) {
check(body, Object);
export default function handleChangeRole(payload, meetingId) {
check(payload.body, Object);
check(meetingId, String);
changeRole({ body }, meetingId);
changeRole(payload, meetingId);
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment