瀏覽代碼

fix:修正获取群成员列表接口url

adam 2 年之前
父節點
當前提交
31e784aca8

+ 1
- 1
package.json 查看文件

@@ -1,6 +1,6 @@
1 1
 {
2 2
   "name": "@bilingo.com/cts",
3
-  "version": "1.0.9",
3
+  "version": "1.0.10",
4 4
   "description": "cts, chat-ts-sdk",
5 5
   "repository": {
6 6
     "type": "git",

+ 1
- 1
packages/cts-api/dist/cjs/WebSocketClient.js 查看文件

@@ -422,7 +422,7 @@ var WebSocketClient = (function () {
422 422
     WebSocketClient.prototype.fetchChatroomMembers = function (data) {
423 423
         return __awaiter(this, void 0, void 0, function () {
424 424
             return __generator(this, function (_a) {
425
-                return [2, this.request('/v1/fetch/chatroom/members', data)];
425
+                return [2, this.request('/v1/chatroom/members', data)];
426 426
             });
427 427
         });
428 428
     };

+ 1
- 1
packages/cts-api/dist/index.js
文件差異過大導致無法顯示
查看文件


+ 1
- 1
packages/cts-api/src/WebSocketClient.ts 查看文件

@@ -323,7 +323,7 @@ export class WebSocketClient {
323 323
 
324 324
   /** 获取聊天室成员 */
325 325
   async fetchChatroomMembers(data: ChatroomMsg) {
326
-    return this.request('/v1/fetch/chatroom/members', data);
326
+    return this.request('/v1/chatroom/members', data);
327 327
   }
328 328
 
329 329
   /** 置顶/取消置顶会话消息 */