Skip to content

Commit

Permalink
Merge pull request #2 from uc-cdis/feat/manifest
Browse files Browse the repository at this point in the history
feat(manifest): return content
  • Loading branch information
philloooo authored Apr 11, 2019
2 parents 9d27c26 + 969ae30 commit acf799b
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions manifestservice/manifests/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,13 +73,9 @@ def get_manifest_file(file_name):

folder_name = _get_folder_name_from_token(current_token)

json_to_return = {
"body": _get_file_contents(
return _get_file_contents(
flask.current_app.config.get("MANIFEST_BUCKET_NAME"), folder_name, file_name
)
}

return flask.jsonify(json_to_return), 200


@blueprint.route("/", methods=["PUT", "POST"])
Expand Down

0 comments on commit acf799b

Please sign in to comment.