Fix syntax error on rider api controller #783
This commit is contained in:
parent
801a274e8c
commit
175ac92765
1 changed files with 3 additions and 2 deletions
|
|
@ -833,9 +833,10 @@ class RiderAppController extends ApiController
|
|||
$serial = $req->request->get('serial', '');
|
||||
if ($jo->getServiceType() == ServiceType::BATTERY_REPLACEMENT_NEW)
|
||||
{
|
||||
/*
|
||||
if (empty($serial))
|
||||
// TODO: serial is required but disabling for now so old rider app works
|
||||
//return new APIResponse(false, 'Missing parameter(s): serial');
|
||||
return new APIResponse(false, 'Missing parameter(s): serial');
|
||||
*/
|
||||
}
|
||||
|
||||
// set invoice to paid
|
||||
|
|
|
|||
Loading…
Reference in a new issue