Skip to content

Commit

Permalink
Fix previous mistake
Browse files Browse the repository at this point in the history
  • Loading branch information
Didas-git committed Dec 21, 2023
1 parent d502408 commit f61fd6a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/core/src/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ export class Client {
application: data.d.application
});

Object.assign(this.#ws, {
Object.assign(this.#ws.resumeInfo, {
url: data.d.resume_gateway_url,
id: data.d.session_id
});
Expand Down
3 changes: 2 additions & 1 deletion packages/core/src/ws/manager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@ export class WebSocketManager {
#gatewayInfo!: GetGatewayBotResponse;
#options: Required<ManagerOptions>;

private readonly resumeInfo: {
// Should i use symbols...?
public readonly resumeInfo: {
url: string,
id: string
} = <never>{};
Expand Down

0 comments on commit f61fd6a

Please sign in to comment.