forked from home-assistant/core
Fix rest notify GET without params configured (#44723)
This commit is contained in:
@@ -197,7 +197,7 @@ class RestNotificationService(BaseNotificationService):
|
|||||||
response = requests.get(
|
response = requests.get(
|
||||||
self._resource,
|
self._resource,
|
||||||
headers=self._headers,
|
headers=self._headers,
|
||||||
params=self._params.update(data),
|
params={**self._params, **data} if self._params else data,
|
||||||
timeout=10,
|
timeout=10,
|
||||||
auth=self._auth,
|
auth=self._auth,
|
||||||
verify=self._verify_ssl,
|
verify=self._verify_ssl,
|
||||||
|
Reference in New Issue
Block a user