1
0
Fork 0
mirror of synced 2024-09-18 18:40:24 +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'); $phone = $user->getAttribute('phone');
if (!$phone) { if (empty($phone)) {
throw new Exception(Exception::USER_PHONE_NOT_FOUND); throw new Exception(Exception::USER_PHONE_NOT_FOUND);
} }