Add TODO to refactor setting of HubCriteria fields. #605

This commit is contained in:
Korina Cordero 2021-07-29 07:41:13 +00:00
parent 0de8f71d0e
commit c261d43a6e
2 changed files with 2 additions and 0 deletions

View file

@ -2765,6 +2765,7 @@ class APIController extends Controller implements LoggedController
// check if hub is null
if ($hub == null)
{
// TODO: need to factor out the setting of HubCriteria fields
$hub_criteria = new HubCriteria();
$hub_criteria->setPoint($jo->getCoordinates());

View file

@ -1954,6 +1954,7 @@ class ResqJobOrderHandler implements JobOrderHandlerInterface
$hub_criteria = new HubCriteria();
// TODO: need to factor out the setting of HubCriteria fields
// get battery (if any)
$skus = [];
$items = [];