1
0
Fork 0
mirror of synced 2024-10-03 19:53:33 +13:00

send phone invite only if email is empty

This commit is contained in:
Damodar Lohani 2023-01-09 10:59:28 +00:00
parent 34b2280207
commit a2642ecc67

View file

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