1
0
Fork 0
mirror of synced 2024-09-14 16:38:28 +12:00

PR review changes

This commit is contained in:
Matej Bačo 2024-07-03 09:35:56 +00:00
parent 2262d516f1
commit b5fc9d5789

View file

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