Skip to content

Commit

Permalink
Fix a trivial bug when building output url for boa submission
Browse files Browse the repository at this point in the history
  • Loading branch information
cslzchen committed Oct 29, 2023
1 parent ed5ce0b commit a01a2a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addons/boa/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ def boa_submit_job(node_addon, user_addon, **kwargs):
if is_addon_root:
base_url = project_node.osfstorage_region.waterbutler_url
parent_wb_url = waterbutler_api_url_for(project_guid, 'osfstorage', _internal=True, base_url=base_url)
output_upload_url = f'{parent_wb_url}?kind=file&name='
output_upload_url = f'{parent_wb_url}?kind=file'
else:
output_upload_url = req_params['parent']['links']['upload'].replace(osf_settings.WATERBUTLER_URL,
osf_settings.WATERBUTLER_INTERNAL_URL)
Expand Down

0 comments on commit a01a2a9

Please sign in to comment.