Skip to content

Commit

Permalink
fix: if no organization conditions
Browse files Browse the repository at this point in the history
  • Loading branch information
frankpagan committed Oct 24, 2023
1 parent c849b50 commit 8847125
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 @@ -61,7 +61,7 @@ class SocketServer extends EventEmitter {
socket.host = url.host || socket.origin;
}

if (organization && organization.status !== false) {
if (!organization || organization && organization.status !== false) {
let data = {
socket,
method: 'read.object',
Expand Down

0 comments on commit 8847125

Please sign in to comment.