Skip to content

Commit cd98a28

Browse files
committed
feat: Access Denied returns action, status, and data
1 parent 4d08217 commit cd98a28

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ class SocketServer extends EventEmitter{
153153
// if (action == 'syncServer')
154154
// this.emit('createDocument', socket, data);
155155
// else
156-
this.send(socket, 'Access Denied', passStatus)
156+
this.send(socket, 'Access Denied', {action, passStatus, data})
157157
return;
158158
}
159159
}

0 commit comments

Comments
 (0)