We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 7e27669 + e425088 commit 4397630Copy full SHA for 4397630
src/p2p/session.ts
@@ -2572,7 +2572,7 @@ export class P2PClientProtocol extends TypedEmitter<P2PClientProtocolEvents> {
2572
if (this.lockSeqNumber === -1) {
2573
let deviceType = undefined;
2574
let deviceSN = undefined;
2575
- if (this.rawStation?.devices !== undefined && this.rawStation?.devices.length > 0) {
+ if (this.rawStation?.devices?.length > 0) {
2576
deviceType = this.rawStation?.devices[0]?.device_type;
2577
deviceSN = this.rawStation?.devices[0]?.device_sn;
2578
}
0 commit comments