fix: destructure

This commit is contained in:
cha0s 2020-12-13 04:46:59 -06:00
parent c5db945e19
commit 1f27912c71

View File

@ -3,7 +3,7 @@ import Leave from './leave';
export default () => class LeaveServer extends Leave() {
static async respond({data: channel}, socket) {
static async respond({data: {channel}}, socket) {
return leaveChannel(channel, socket);
}