fix status

This commit is contained in:
Giuseppe Nucifora 2022-07-22 11:52:37 +02:00
parent 6e49ef0208
commit 0df319e64a

View File

@ -98,7 +98,7 @@ class UptimeRobotApiService
foreach ($alertContacts as $alertContactName) {
if (!empty($alertContactName)) {
$alertContact = $this->alertContactService->findbyName($alertContactName);
$alertContact = $this->getAlertContactService()->findbyName($alertContactName);
if ($alertContact instanceof AlertContact) {
$this->alertContacts[] = $alertContact;
}