Fix params on FlareRequest
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
b4a8f264e1
commit
b79ca54a9e
@ -4,7 +4,7 @@ from .config import CLOUDPROXY_ENDPOINT, REQUESTS_TIMEOUT
|
|||||||
|
|
||||||
|
|
||||||
class FlareRequests(Session):
|
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:
|
if not CLOUDPROXY_ENDPOINT:
|
||||||
return super().request(method, url, params, timeout=timeout, **kwargs)
|
return super().request(method, url, params, timeout=timeout, **kwargs)
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user