From bfc5ba0524e4be663eb46824a7e7c67b6a0c45c8 Mon Sep 17 00:00:00 2001 From: mkb79 Date: Wed, 20 Apr 2022 14:26:36 +0200 Subject: [PATCH] fix a bug in `Client.delete` and `AsyncClient.delete` --- CHANGELOG.md | 6 ++++++ src/audible/_version.py | 2 +- src/audible/client.py | 2 +- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 83516482..bc4a3772 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,12 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). - +## [0.8.1] - 2022-04-20 + +### Bugfix + +- fix a bug in `Client.delete` and `AsyncClient.delete` method + ## [0.8.0] - 2022-04-11 ### Added diff --git a/src/audible/_version.py b/src/audible/_version.py index 861802ca..5ea6e47a 100644 --- a/src/audible/_version.py +++ b/src/audible/_version.py @@ -2,7 +2,7 @@ __description__ = "A(Sync) Interface for internal Audible API written in " \ "pure Python." __url__ = "https://github.com/mkb79/audible" -__version__ = "0.8.0" +__version__ = "0.8.1" __author__ = "mkb79" __author_email__ = "mkb79@hackitall.de" __license__ = "AGPL" diff --git a/src/audible/client.py b/src/audible/client.py index 30482030..75b6fd67 100644 --- a/src/audible/client.py +++ b/src/audible/client.py @@ -280,7 +280,7 @@ def delete( Callable[[httpx.Response], Any]] = None, **kwargs ) -> Any: - self._prepare_params(**kwargs) + self._prepare_params(kwargs) return self._request( method="DELETE", path=path,