Skip to content

Commit

Permalink
Update Node.ts (#176)
Browse files Browse the repository at this point in the history
  • Loading branch information
ftrapture authored Jul 10, 2024
1 parent 761f40f commit 772d46f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/node/Node.ts
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ export class Node extends EventEmitter {
'User-Id': this.manager.id
};

if (this.sessionId) headers['Resume-Key'] = this.sessionId;
if (this.sessionId) headers['Session-Id'] = this.sessionId;
this.emit('debug', `[Socket] -> [${this.name}] : Connecting ${this.url}, Version: ${this.version}, Trying to resume? ${!!this.sessionId}`);
if (!this.initialized) this.initialized = true;

Expand Down

0 comments on commit 772d46f

Please sign in to comment.