Fix typo for call to normalize text. #662

This commit is contained in:
Korina Cordero 2022-05-02 06:14:53 +00:00
parent 4fb28174c5
commit 3e61bdb89c

View file

@ -631,7 +631,7 @@ class APIController extends Controller implements LoggedController
->setModelYear($req->request->get('model_year')) ->setModelYear($req->request->get('model_year'))
->setColor($req->request->get('color')) ->setColor($req->request->get('color'))
->setFuelType($this->normalizeName($req->request->get('fuel_type'))) ->setFuelType($this->normalizeName($req->request->get('fuel_type')))
->setStatusCondition($this->normalizename($req->request->get('condition'))); ->setStatusCondition($this->normalizeName($req->request->get('condition')));
// set warranty code and expiration // set warranty code and expiration
// TODO: check warranty requirements // TODO: check warranty requirements