diff --git a/package.json b/package.json index b64f1d1..2778cc0 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@chatenium/chatenium-sdk", - "version": "1.1.6", + "version": "1.1.7", "description": "A library for interacting with the Chatenium API", "type": "module", "main": "dist/index.js", diff --git a/src/services/textChannelService.ts b/src/services/textChannelService.ts index 9629d50..2d5da39 100644 --- a/src/services/textChannelService.ts +++ b/src/services/textChannelService.ts @@ -263,7 +263,7 @@ export class TextChannelServiceService { */ async joinWebSocketRoom(): Promise { try { - const resp = await this.client.patch("v2/network/channel/joinWebSocketRoom", { + const resp = await this.client.post("v2/network/channel/joinWebSocketRoom", { networkId: this.networkId, channelId: this.channelId, categoryId: this.categoryId,