Skip to content

Commit

Permalink
delete console.log (#85)
Browse files Browse the repository at this point in the history
  • Loading branch information
1Lucas1apk authored Feb 20, 2024
2 parents 5325237 + 9580428 commit df6c9f7
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/@Entities/MoonlinkNode.ts
Original file line number Diff line number Diff line change
Expand Up @@ -170,12 +170,10 @@ export class MoonlinkNode {
};
if (this.resume)
headers["Session-Id"] =
this.db.get(`sessionId.${this.identifier ?? this.host}`) ??
this.db.get(`sessionId.${this.identifier ?? this.host.replace(/\./g, "-")}`) ??
null;
console.log(
headers,
this.db.get(`sessionId.${this.identifier ?? this.host.replace(/\./g, '-')}`)
);


this.socket = new MoonlinkWebSocket(
`ws${this.secure ? "s" : ""}://${this.address}/v4/websocket`,
{ headers }
Expand Down Expand Up @@ -301,7 +299,9 @@ export class MoonlinkNode {
this.sessionId = payload.sessionId;
this.resume
? this.db.set(
`sessionId.${this.identifier ?? this.host.replace(/\./g, '-')}`,
`sessionId.${
this.identifier ?? this.host.replace(/\./g, "-")
}`,
this.sessionId
)
: null;
Expand Down

0 comments on commit df6c9f7

Please sign in to comment.