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

This commit is contained in:
Michel Roux 2022-12-21 15:06:41 +00:00
parent 5b43615f02
commit beead16617

View File

@ -4,9 +4,9 @@ from .config import CLOUDPROXY_ENDPOINT
class FlareRequests(Session):
def request(self, method, url, params):
def request(self, method, url, params, **kwargs):
if not CLOUDPROXY_ENDPOINT:
return super().request(method, url, params)
return super().request(method, url, params, **kwargs)
sessions = post(CLOUDPROXY_ENDPOINT, json={"cmd": "sessions.list"}).json()