Browse Source

update

master
DengBiao 1 year ago
parent
commit
d2ac07cdd3
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      internal/logic/app/group_app.go

+ 1
- 0
internal/logic/app/group_app.go View File

@@ -27,6 +27,7 @@ func (*groupApp) CreateGroup(ctx context.Context, userId int64, in *pb.CreateGro
if err != nil { if err != nil {
return 0, err return 0, err
} }
in.MemberIds = append(in.MemberIds, userId)
err = group.PushAddMember(ctx, userId, in.MemberIds) err = group.PushAddMember(ctx, userId, in.MemberIds)
return group.Id, nil return group.Id, nil
} }


Loading…
Cancel
Save