mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-07-30 17:24:18 +02:00
HostController: one more fix for JSON
This commit is contained in:
parent
ca1371d8b3
commit
e566d32ccf
@ -479,12 +479,14 @@ class HostController extends ObjectController
|
||||
throw new NotFoundError('The host "%s" is not an agent', $host->object_name);
|
||||
}
|
||||
|
||||
return $this->sendJson(
|
||||
$this->sendJson(
|
||||
$this->getResponse(),
|
||||
Util::getIcingaTicket(
|
||||
$host->object_name,
|
||||
$this->api()->getTicketSalt()
|
||||
)
|
||||
);
|
||||
return;
|
||||
}
|
||||
|
||||
return parent::handleApiRequest();
|
||||
|
Loading…
x
Reference in New Issue
Block a user