Kick CI
This commit is contained in:
parent
b39f38263e
commit
d38f302c85
|
@ -90,6 +90,7 @@ func (r *Inviter) PerformInvite(
|
|||
if err = r.UserAPI.QueryAccountAvailability(ctx, userReq, userRes); err != nil {
|
||||
return nil, fmt.Errorf("r.UserAPI.QueryAccountAvailability: %w", err)
|
||||
}
|
||||
// If the user ID is "available" then that user doesn't exist.
|
||||
if userRes.Available {
|
||||
res.Error = &api.PerformError{
|
||||
Code: api.PerformErrorNotFound,
|
||||
|
|
Loading…
Reference in a new issue