mirror of
https://github.com/ail-project/ail-framework.git
synced 2025-09-08 08:02:39 +00:00
Error Fixed
This commit is contained in:
parent
c2bf5aebdf
commit
7669373002
2 changed files with 4 additions and 5 deletions
|
@ -321,7 +321,7 @@ def get_item_content():
|
|||
item_id = data.get('id', None)
|
||||
req_data = {'id': item_id}
|
||||
res = Item.get_item_as_txt(req_data)
|
||||
return Response(json.dumps(res[0], indent=2, sort_keys=True), mimetype='text/plain'), res[1]
|
||||
return Response(json.dumps(res[0], indent=2, sort_keys=True), mimetype='application/json'), res[1]
|
||||
|
||||
|
||||
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue