change modifier name
This commit is contained in:
parent
fc4b0dbcb1
commit
36ebec64c5
@ -2,7 +2,7 @@ import Logger from '/imports/startup/server/logger';
|
||||
import { check } from 'meteor/check';
|
||||
import Users from '/imports/api/2.0/users';
|
||||
|
||||
export default function handleChangeRole({ body }, meetingId) {
|
||||
export default function changeRole({ body }, meetingId) {
|
||||
const { userId, role, changedBy } = body;
|
||||
|
||||
check(userId, String);
|
||||
|
Loading…
Reference in New Issue
Block a user