From 02a9c0feb3fc81eeff08d2c411c543933fb9a43b Mon Sep 17 00:00:00 2001 From: "Ilya (Marshal)" Date: Tue, 31 Jan 2023 09:42:52 +0100 Subject: [PATCH] =?UTF-8?q?=D0=98=D1=81=D0=BF=D1=80=D0=B0=D0=B2=D0=BB?= =?UTF-8?q?=D0=B5=D0=BD=D0=BE=20=D1=81=D0=BE=D0=B7=D0=B4=D0=B0=D0=BD=D0=B8?= =?UTF-8?q?=D0=B5=20=D0=BE=D1=87=D0=B5=D1=80=D0=B5=D0=B4=D0=B8=20=D1=82?= =?UTF-8?q?=D1=80=D0=B5=D0=BA=D0=BE=D0=B2.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- yandex_music/client.py | 2 +- yandex_music/client_async.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/yandex_music/client.py b/yandex_music/client.py index 7d7b04e..fd3ed82 100644 --- a/yandex_music/client.py +++ b/yandex_music/client.py @@ -2417,7 +2417,7 @@ class Client(YandexMusicObject): self._request.headers['X-Yandex-Music-Device'] = device result = self._request.post(url, queue, *args, **kwargs) - return result.get('id_') + return result.get('id') # camelCase псевдонимы diff --git a/yandex_music/client_async.py b/yandex_music/client_async.py index 2b62991..8150b70 100644 --- a/yandex_music/client_async.py +++ b/yandex_music/client_async.py @@ -2435,7 +2435,7 @@ class ClientAsync(YandexMusicObject): self._request.headers['X-Yandex-Music-Device'] = device result = await self._request.post(url, queue, *args, **kwargs) - return result.get('id_') + return result.get('id') # camelCase псевдонимы