Skip to content
This repository was archived by the owner on Feb 21, 2023. It is now read-only.

Commit 75d3a4a

Browse files
committed
feat: 修复查询时群组id类型问题
1 parent 6446de9 commit 75d3a4a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

services/chat/message.service.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ class MessageService extends TcService {
122122
if (groupId) {
123123
// 是一条群组信息
124124
const group: GroupBaseInfo = await ctx.call('group.getGroupBasicInfo', {
125-
groupId,
125+
groupId: String(groupId),
126126
});
127127
if (String(group.owner) === userId) {
128128
allowToRecall = true; // 是管理员 允许修改

0 commit comments

Comments
 (0)