Fix params on FlareRequest
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Michel Roux 2022-12-21 15:23:06 +00:00
parent b4a8f264e1
commit b79ca54a9e

View File

@ -4,7 +4,7 @@ from .config import CLOUDPROXY_ENDPOINT, REQUESTS_TIMEOUT
class FlareRequests(Session):
def request(self, method, url, params, timeout=REQUESTS_TIMEOUT, **kwargs):
def request(self, method, url, params=None, timeout=REQUESTS_TIMEOUT, **kwargs):
if not CLOUDPROXY_ENDPOINT:
return super().request(method, url, params, timeout=timeout, **kwargs)