diff --git a/internal/logic/app/group_app.go b/internal/logic/app/group_app.go index 4c463c3..e9c85ab 100644 --- a/internal/logic/app/group_app.go +++ b/internal/logic/app/group_app.go @@ -27,6 +27,7 @@ func (*groupApp) CreateGroup(ctx context.Context, userId int64, in *pb.CreateGro if err != nil { return 0, err } + in.MemberIds = append(in.MemberIds, userId) err = group.PushAddMember(ctx, userId, in.MemberIds) return group.Id, nil }