Fix typo in error message. #567

This commit is contained in:
Korina Cordero 2021-05-20 03:51:17 +00:00
parent 571a7e3200
commit 10a9b3227f

View file

@ -3076,7 +3076,7 @@ class APIController extends Controller implements LoggedController
if (!$is_customer_warranty) if (!$is_customer_warranty)
{ {
$res->setError(true) $res->setError(true)
->setErrorMessage('Warranty registred to a vehicle not in your list of vehicles.'); ->setErrorMessage('Warranty registered to a vehicle not in your list of vehicles.');
$logger->logWarrantyInfo($log_data, $res->getErrorMessage(), $user_id, $action, $source); $logger->logWarrantyInfo($log_data, $res->getErrorMessage(), $user_id, $action, $source);
return $res; return $res;
} }