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