Skip to content

Commit

Permalink
fix:add some checks
Browse files Browse the repository at this point in the history
Signed-off-by: pallavicoder <[email protected]>
  • Loading branch information
pallavighule committed Dec 4, 2024
1 parent 650b6e2 commit d8eba9d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/transport/SocketDockInboundTransport.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export class SocketDockInboundTransport implements InboundTransport {
throw new Error('ConnectionId is not sent from socketDock server')
}

const socketId = this.activeConnections[connectionId] as string
const socketId = this.activeConnections[connectionId]
if (!socketId) {
this.activeConnections[socketId] = socketId
this.logger.debug(`Saving new socketId : ${connectionId}`)
Expand Down

0 comments on commit d8eba9d

Please sign in to comment.