This commit is contained in:
parent
5b43615f02
commit
beead16617
@ -4,9 +4,9 @@ from .config import CLOUDPROXY_ENDPOINT
|
|||||||
|
|
||||||
|
|
||||||
class FlareRequests(Session):
|
class FlareRequests(Session):
|
||||||
def request(self, method, url, params):
|
def request(self, method, url, params, **kwargs):
|
||||||
if not CLOUDPROXY_ENDPOINT:
|
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()
|
sessions = post(CLOUDPROXY_ENDPOINT, json={"cmd": "sessions.list"}).json()
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user