From de9924f03ead5414763d8f918db14c1f6846ed19 Mon Sep 17 00:00:00 2001 From: Antonin Verdier Date: Sun, 28 Jan 2024 23:11:56 +0100 Subject: [PATCH] Finished fixing add_download_task_from_url. Without any errors this time ! --- src/freebox_api/access.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/freebox_api/access.py b/src/freebox_api/access.py index f75c4363..0f230b15 100644 --- a/src/freebox_api/access.py +++ b/src/freebox_api/access.py @@ -143,6 +143,7 @@ async def post( """ Send post request and return results """ + data: Optional[str|Any] = None if json_transform: data = json.dumps(payload) if payload else None else: