Have battery services use the findNearestHub method without inventory check #378
This commit is contained in:
parent
5eef2df4e0
commit
7aebe13d1f
1 changed files with 2 additions and 1 deletions
|
|
@ -994,7 +994,8 @@ class APIController extends Controller implements LoggedController
|
|||
($jo->getServicetype() == ServiceType::BATTERY_REPLACEMENT_WARRANTY))
|
||||
{
|
||||
// get nearest hub
|
||||
$nearest_hub = $this->findNearestHubWithInventory($jo, $batt, $em, $map_tools, $im);
|
||||
// $nearest_hub = $this->findNearestHubWithInventory($jo, $batt, $em, $map_tools, $im);
|
||||
$nearest_hub = $this->findNearestHub($jo, $em, $map_tools);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue