Disable serial number requirement on rider api to allow old rider app to work for now #783
This commit is contained in:
parent
d603934d93
commit
801a274e8c
1 changed files with 2 additions and 1 deletions
|
|
@ -834,7 +834,8 @@ class RiderAppController extends ApiController
|
||||||
if ($jo->getServiceType() == ServiceType::BATTERY_REPLACEMENT_NEW)
|
if ($jo->getServiceType() == ServiceType::BATTERY_REPLACEMENT_NEW)
|
||||||
{
|
{
|
||||||
if (empty($serial))
|
if (empty($serial))
|
||||||
return new APIResponse(false, 'Missing parameter(s): serial');
|
// TODO: serial is required but disabling for now so old rider app works
|
||||||
|
//return new APIResponse(false, 'Missing parameter(s): serial');
|
||||||
}
|
}
|
||||||
|
|
||||||
// set invoice to paid
|
// set invoice to paid
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue