|
@@ -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 |
|
|
} |
|
|
} |
|
|