Merge branch '425-cmb-use-cmb-service-type' into '424-cmb-release'
Resolve "CMB - use CMB service type" See merge request jankstudio/resq!489
This commit is contained in:
commit
c3852e3b33
1 changed files with 2 additions and 2 deletions
|
|
@ -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',
|
||||
|
|
|
|||
Loading…
Reference in a new issue