Add TODO to refactor setting of HubCriteria fields. #605
This commit is contained in:
parent
0de8f71d0e
commit
c261d43a6e
2 changed files with 2 additions and 0 deletions
|
|
@ -2765,6 +2765,7 @@ class APIController extends Controller implements LoggedController
|
||||||
// check if hub is null
|
// check if hub is null
|
||||||
if ($hub == null)
|
if ($hub == null)
|
||||||
{
|
{
|
||||||
|
// TODO: need to factor out the setting of HubCriteria fields
|
||||||
$hub_criteria = new HubCriteria();
|
$hub_criteria = new HubCriteria();
|
||||||
$hub_criteria->setPoint($jo->getCoordinates());
|
$hub_criteria->setPoint($jo->getCoordinates());
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1954,6 +1954,7 @@ class ResqJobOrderHandler implements JobOrderHandlerInterface
|
||||||
|
|
||||||
$hub_criteria = new HubCriteria();
|
$hub_criteria = new HubCriteria();
|
||||||
|
|
||||||
|
// TODO: need to factor out the setting of HubCriteria fields
|
||||||
// get battery (if any)
|
// get battery (if any)
|
||||||
$skus = [];
|
$skus = [];
|
||||||
$items = [];
|
$items = [];
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue