mirror of
https://github.com/Pardus-LiderAhenk/ahenk
synced 2024-11-28 23:12:19 +03:00
task response data convert to json
This commit is contained in:
parent
5ee0f142f7
commit
fc4aa05963
1 changed files with 1 additions and 1 deletions
|
@ -34,7 +34,7 @@ class Messaging(object):
|
||||||
data['taskId'] = response.get_id()
|
data['taskId'] = response.get_id()
|
||||||
data['responseCode'] = response.get_code()
|
data['responseCode'] = response.get_code()
|
||||||
data['responseMessage'] = response.get_message()
|
data['responseMessage'] = response.get_message()
|
||||||
data['responseData'] = response.get_data()
|
data['responseData'] = json.loads(str(response.get_data()))
|
||||||
data['contentType'] = response.get_content_type()
|
data['contentType'] = response.get_content_type()
|
||||||
data['timestamp'] = response.get_timestamp()
|
data['timestamp'] = response.get_timestamp()
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue