Skip to content

Commit 86bf009

Browse files
committed
upd: SQ fix
1 parent d48dc9c commit 86bf009

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
44

55
[project]
66
name = "ozonapi-async"
7-
version = "0.15.0"
7+
version = "0.15.1"
88
description = "Асинхронный pydantic-интерфейс для Ozon Seller API c ограничением запросов и docstrings"
99
readme = "readme.md"
1010
keywords = [

src/ozonapi/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ async def get_product_info_limit():
3737
from .seller import SellerAPI, SellerAPIConfig
3838

3939

40-
__version__ = "0.15.0"
40+
__version__ = "0.15.1"
4141
__author__ = "Alexander Ulianov"
4242
__email__ = "a.v.ulianov@mail.ru"
4343
__repository__ = "https://github.com/a-ulianov/OzonAPI"

src/ozonapi/seller/core/core.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ def __init__(
7070
self._api_key = api_key or self._config.api_key
7171
self._token = token or self._config.token
7272

73-
if (self._token is None and (self._api_key is None or self._api_key is None)):
73+
if (self._token is None and (self._api_key is None or self._client_id is None)):
7474
raise ValueError(
7575
"Не предоставлены авторизационные данные. Проверьте указание token или client_id и api_key."
7676
)

0 commit comments

Comments
 (0)