Merge pull request #3454 from appwrite/fix-phone-worker
feat: trigger sms for createVerification
This commit is contained in:
commit
7c85d5fc3f
1 changed files with 3 additions and 1 deletions
|
@ -2301,7 +2301,9 @@ App::post('/v1/account/verification/phone')
|
|||
|
||||
$messaging
|
||||
->setRecipient($user->getAttribute('phone'))
|
||||
->setMessage($secret);
|
||||
->setMessage($secret)
|
||||
->trigger()
|
||||
;
|
||||
|
||||
$events
|
||||
->setParam('userId', $user->getId())
|
||||
|
|
Loading…
Reference in a new issue