This code never properly worked because the incorrect variable was used

pull/1698/head
Robbie Trencheny 2016-04-03 15:45:44 -07:00
parent e140e9b8ab
commit d00e63486a
1 changed files with 1 additions and 1 deletions

View File

@ -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)