From beead16617302ff702d8a005e7c948f4147c18ba Mon Sep 17 00:00:00 2001 From: Michel Roux Date: Wed, 21 Dec 2022 15:06:41 +0000 Subject: [PATCH] Fix FlareRequest --- pynyaata/flarerequests.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pynyaata/flarerequests.py b/pynyaata/flarerequests.py index 71ca052..e339ab9 100644 --- a/pynyaata/flarerequests.py +++ b/pynyaata/flarerequests.py @@ -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()