Skip to content

Commit

Permalink
fix: syncServer trigers action createDocument
Browse files Browse the repository at this point in the history
  • Loading branch information
frankpagan committed Dec 7, 2022
1 parent 8ba4582 commit 608e390
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ class SocketServer extends EventEmitter{
if (passStatus !== true) {
// if (action == 'syncServer' && passStatus.database === true)
// if (action == 'syncServer')
// this.emit(action, socket, data);
// this.emit('createDocument', socket, data);
// else
this.send(socket, 'Access Denied', passStatus)
return;
Expand Down

0 comments on commit 608e390

Please sign in to comment.