This code never properly worked because the incorrect variable was used
parent
e140e9b8ab
commit
d00e63486a
|
@ -63,7 +63,7 @@ class RestNotificationService(BaseNotificationService):
|
|||
data[self._title_param_name] = kwargs.get(ATTR_TITLE)
|
||||
|
||||
if self._target_param_name is not None:
|
||||
data[self._title_param_name] = kwargs.get(ATTR_TARGET)
|
||||
data[self._target_param_name] = kwargs.get(ATTR_TARGET)
|
||||
|
||||
if self._method == 'POST':
|
||||
response = requests.post(self._resource, data=data, timeout=10)
|
||||
|
|
Loading…
Reference in New Issue