Skip to content

Commit

Permalink
Fix response type
Browse files Browse the repository at this point in the history
  • Loading branch information
matyasselmeci committed Jan 6, 2024
1 parent 9c2c4a2 commit 48fc88e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ def institution_ids():
if not institution_ids:
return Response("Error getting Institution/OSG ID mappings: no mappings returned", status=503)

return to_json_bytes(PreJSON(institution_ids))
return Response(to_json_bytes(PreJSON(institution_ids)), mimetype='application/json')


@app.route('/organizations')
Expand Down

0 comments on commit 48fc88e

Please sign in to comment.