Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(blank): uploader is no longer technically required since arborist… #277

Merged
merged 1 commit into from
May 26, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions indexd/index/blueprint.py
Original file line number Diff line number Diff line change
Expand Up @@ -283,8 +283,6 @@ def post_index_blank_record():

uploader = flask.request.get_json().get("uploader")
file_name = flask.request.get_json().get("file_name")
if not uploader:
raise UserError("no uploader specified")

did, rev, baseid = blueprint.index_driver.add_blank_record(
uploader=uploader, file_name=file_name
Expand All @@ -307,8 +305,6 @@ def add_index_blank_record_version(record):
uploader = flask.request.get_json().get("uploader")
file_name = flask.request.get_json().get("file_name")
new_did = flask.request.json.get("did")
if not uploader:
raise UserError("no uploader specified")

# authorize done in add_blank_version for the existing record's authz
did, baseid, rev = blueprint.index_driver.add_blank_version(
Expand Down