mirror of
https://github.com/aiogram/aiogram.git
synced 2026-04-08 16:37:47 +00:00
Revert compose_data changes
This commit is contained in:
parent
95cfddf13e
commit
d47db33fe1
1 changed files with 1 additions and 4 deletions
|
|
@ -166,10 +166,7 @@ def compose_data(params=None, files=None):
|
|||
|
||||
if params:
|
||||
for key, value in params.items():
|
||||
if isinstance(value, (list, dict)):
|
||||
data.add_field(key, json.dumps(value))
|
||||
else:
|
||||
data.add_field(key, str(value))
|
||||
data.add_field(key, str(value))
|
||||
|
||||
if files:
|
||||
for key, f in files.items():
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue