Revert compose_data changes

This commit is contained in:
ENCRYPTED 2022-09-18 16:05:35 +03:00 committed by GitHub
parent 95cfddf13e
commit d47db33fe1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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():