Resolve "CMB - use CMB service type" #1300

Merged
korina.cordero merged 2 commits from 425-cmb-use-cmb-service-type into 424-cmb-release 2020-06-17 02:05:35 +00:00

View file

@ -6,7 +6,7 @@ use Doctrine\ORM\EntityManagerInterface;
use Symfony\Component\HttpFoundation\Request;
use Symfony\Component\Security\Core\Encoder\EncoderFactoryInterface;
use App\Ramcar\ServiceType;
use App\Ramcar\CMBServiceType;
use App\Ramcar\TradeInType;
use App\Ramcar\JOStatus;
use App\Ramcar\CMBJOEventType;
@ -1045,7 +1045,7 @@ class CMBRiderAPIHandler implements RiderAPIHandlerInterface
// check service type
$service_type = $req->request->get('service_type');
if (!ServiceType::validate($service_type))
if (!CMBServiceType::validate($service_type))
{
$data = [
'title' => 'Failed Service Change',