add alertcontact in uptimerobotservice
This commit is contained in:
parent
02dc8f76d1
commit
dfbff8b44e
@ -97,7 +97,7 @@ class UptimeRobotApiService
|
||||
$alertContacts = explode(',', $alertContactsString);
|
||||
|
||||
foreach ($alertContacts as $alertContactName) {
|
||||
|
||||
if (!empty($alertContactName)) {
|
||||
$alertContact = $this->alertContactService->findbyName($alertContactName);
|
||||
if ($alertContact instanceof AlertContact) {
|
||||
$this->alertContacts[] = $alertContact;
|
||||
@ -105,6 +105,7 @@ class UptimeRobotApiService
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @return mixed
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user