Skip to content

Commit

Permalink
fix: [titles] add api to get all titles
Browse files Browse the repository at this point in the history
  • Loading branch information
Terrtia committed Feb 15, 2024
1 parent 05c8100 commit 811ee45
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion var/www/modules/restApi/Flask_restApi.py
Original file line number Diff line number Diff line change
Expand Up @@ -698,7 +698,7 @@ def v1_ping():
@restApi.route("api/v1/titles/download", methods=['GET'])
@token_required('read_only')
def objects_titles_downloads():
return Response(Titles.Titles().get_contents_ids(), mimetype='application/json'), 200
return Response(json.dumps(Titles.Titles().get_contents_ids()), mimetype='application/json'), 200


# ========= REGISTRATION =========
Expand Down

0 comments on commit 811ee45

Please sign in to comment.