Fix rest notify GET without params configured (#44723)

This commit is contained in:
J. Nick Koston 2021-01-01 01:40:08 -10:00 committed by GitHub
parent 5e0eea21d4
commit 681f76b99d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -197,7 +197,7 @@ class RestNotificationService(BaseNotificationService):
response = requests.get(
self._resource,
headers=self._headers,
params=self._params.update(data),
params={**self._params, **data} if self._params else data,
timeout=10,
auth=self._auth,
verify=self._verify_ssl,