PR review changes
This commit is contained in:
parent
2262d516f1
commit
b5fc9d5789
1 changed files with 1 additions and 1 deletions
|
@ -3453,7 +3453,7 @@ App::post('/v1/account/verification/phone')
|
|||
}
|
||||
|
||||
$phone = $user->getAttribute('phone');
|
||||
if (!$phone) {
|
||||
if (empty($phone)) {
|
||||
throw new Exception(Exception::USER_PHONE_NOT_FOUND);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue