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

This commit is contained in:
Michel Roux 2022-12-21 15:41:50 +00:00
parent aa3f288ff7
commit 1b04b7eb4b

View File

@ -45,7 +45,7 @@ class FlareRequests(Session):
except RequestException: except RequestException:
session = post( session = post(
CLOUDPROXY_ENDPOINT, CLOUDPROXY_ENDPOINT,
{"cmd": "sessions.destroy", "session": FLARESESSION}, json={"cmd": "sessions.destroy", "session": FLARESESSION},
) )
raise RequestException(solution) raise RequestException(solution)