fix: destructure
This commit is contained in:
parent
c5db945e19
commit
1f27912c71
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user