change variable declaration

This commit is contained in:
KDSBrowne 2017-09-21 10:21:25 -07:00
parent 8418317e03
commit 93d7c9f4ce

View File

@ -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);
} }