bug:update a filed (#1192)

pull/1219/head
Brabem 1 year ago committed by GitHub
parent 9218f0d928
commit b783f0eb98
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -51,7 +51,7 @@ func CallbackBeforeCreateGroup(ctx context.Context, req *group.CreateGroupReq) (
RoleLevel: constant.GroupAdmin,
})
}
for _, userID := range req.AdminUserIDs {
for _, userID := range req.MemberUserIDs {
cbReq.InitMemberList = append(cbReq.InitMemberList, &apistruct.GroupAddMemberInfo{
UserID: userID,
RoleLevel: constant.GroupOrdinaryUsers,

Loading…
Cancel
Save