fix: [titles] add api to get all titles

dev
terrtia 2024-02-15 14:45:15 +01:00
parent e83323c672
commit 05c8100b8b
No known key found for this signature in database
GPG Key ID: 1E1B1F50D84613D0
1 changed files with 1 additions and 1 deletions

View File

@ -698,7 +698,7 @@ def v1_ping():
@restApi.route("api/v1/titles/download", methods=['GET'])
@token_required('read_only')
def objects_titles_downloads():
return jsonify(Titles.Titles().get_contents_ids())
return Response(Titles.Titles().get_contents_ids(), mimetype='application/json'), 200
# ========= REGISTRATION =========