send phone invite only if email is empty
This commit is contained in:
parent
34b2280207
commit
a2642ecc67
1 changed files with 1 additions and 3 deletions
|
@ -475,9 +475,7 @@ App::post('/v1/teams/:teamId/memberships')
|
|||
->setUser($user)
|
||||
->trigger()
|
||||
;
|
||||
}
|
||||
|
||||
if (!empty($phone)) {
|
||||
} else if (!empty($phone)) {
|
||||
$messaging
|
||||
->setRecipient($phone)
|
||||
->setMessage($url)
|
||||
|
|
Loading…
Reference in a new issue