change variable declaration
This commit is contained in:
parent
8418317e03
commit
93d7c9f4ce
@ -1,8 +1,7 @@
|
||||
import kickUser from '../modifiers/kickUser';
|
||||
|
||||
export default function handleKickUser({ header }) {
|
||||
const meetingId = header.meetingId;
|
||||
const userId = header.userId;
|
||||
const { meetingId, userId } = header;
|
||||
|
||||
return kickUser(meetingId, userId);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user