mirror of
https://github.com/retailcrm/api-client-python.git
synced 2025-04-03 21:23:32 +03:00
Fix file files_upload parameters.
"File" parameter is a result of "open(file_path, 'rb')".
This commit is contained in:
parent
27ff0849ec
commit
f4c0677b9d
1 changed files with 1 additions and 1 deletions
|
@ -742,7 +742,7 @@ class Client(Base):
|
|||
:return: Response
|
||||
"""
|
||||
|
||||
self.parameters['file'] = json.dumps(file)
|
||||
self.parameters['file'] = file
|
||||
|
||||
if site is not None:
|
||||
self.parameters['site'] = site
|
||||
|
|
Loading…
Add table
Reference in a new issue