From 35a15b0183086cd6bc3794441c6db0ffd0ae1575 Mon Sep 17 00:00:00 2001 From: rikroe <42204099+rikroe@users.noreply.github.com> Date: Wed, 22 Feb 2023 19:48:29 +0100 Subject: [PATCH] Fix mypy --- bimmer_connected/vehicle/remote_services.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bimmer_connected/vehicle/remote_services.py b/bimmer_connected/vehicle/remote_services.py index c8e05699..dd59db21 100644 --- a/bimmer_connected/vehicle/remote_services.py +++ b/bimmer_connected/vehicle/remote_services.py @@ -118,7 +118,7 @@ async def trigger_remote_service( url, headers={"content-type": "application/json"} if data else None, params=params, - data=json.dumps(data, cls=MyBMWJSONEncoder) if data else None, + content=json.dumps(data, cls=MyBMWJSONEncoder) if data else None, ) event_id = response.json().get("eventId") if response.content else None