Skip to content

Commit

Permalink
[FIX] OzonClient
Browse files Browse the repository at this point in the history
  • Loading branch information
archetipo committed Aug 22, 2023
1 parent 6afcfae commit 9af489f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions ozonenv/core/OzonClient.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ async def send_mail(self, model, rec_name, tmp_name):
return {"status": "error", "message": res}

async def post_form_with_file(
self, url, headers, form_data: dict = None, files: dict = None
self, url, headers, form_data: dict = None, files: list = None
):
if files is None:
files = []
Expand Down Expand Up @@ -118,7 +118,7 @@ async def post_form_data(self, url, headers, form_data: dict = None):
)

async def post_form(
self, action_name, model, form_data: dict = None, files: dict = None
self, action_name, model, form_data: dict = None, files: list = None
):
if files is None:
files = []
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "ozon-env"
version = "2.2.4"
version = "2.2.5"
homepage = "https://github.com/archetipo/ozon-env"
description = "Ozon Env API"
readme = "README.md"
Expand Down

0 comments on commit 9af489f

Please sign in to comment.