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 e83323c commit 05c8100
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 jsonify(Titles.Titles().get_contents_ids())
return Response(Titles.Titles().get_contents_ids(), mimetype='application/json'), 200


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

0 comments on commit 05c8100

Please sign in to comment.