Update Service.php

This commit is contained in:
Mr. Timothy G Webb Sr committed 2020-11-27 00:17:46 -05:00
1 parent 2e48f1bb9d
commit f116addba6
1 file changed
+1 -1
+1 -1
View File
@@ -444,7 +444,7 @@ class Service implements InjectionAwareInterface
public function toApiArray(\Model_ServiceHosting $model, $deep = false, $identity = null)
{
$serviceHostingServerModel = $this->di['db']->load('ServiceHostingServer', $model->service_hosting_server_id);
$serviceHostingServerModel = $this->di['db']->load('ServiceHosting', $model->service_hosting_server_id);
$serviceHostingHpModel = $this->di['db']->load('ServiceHostingHp', $model->service_hosting_hp_id);
$server = $this->toHostingServerApiArray($serviceHostingServerModel, $deep, $identity);
$hp = $this->toHostingHpApiArray($serviceHostingHpModel, $deep, $identity);