Skip to content

Commit

Permalink
TODO
Browse files Browse the repository at this point in the history
  • Loading branch information
burnout87 committed Sep 18, 2023
1 parent 16f5c94 commit 8f9abb7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cdci_data_analysis/flask_app/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -840,6 +840,7 @@ def get_data_product_list_with_conditions():
return output_list

Check warning on line 840 in cdci_data_analysis/flask_app/app.py

View check run for this annotation

Codecov / codecov/patch

cdci_data_analysis/flask_app/app.py#L840

Added line #L840 was not covered by tests


# TODO to refactor using get_data_product_list_with_conditions
@app.route('/get_data_product_list_by_source_name', methods=['GET'])
def get_data_product_list_by_source_name():
logger.info("request.args: %s ", request.args)
Expand Down Expand Up @@ -874,7 +875,7 @@ def get_data_product_list_by_source_name():
src_name = request.args.get('src_name', None)

output_get = drupal_helper.get_data_product_list_by_source_name(product_gallery_url=product_gallery_url,
gallery_jwt_token=gallery_jwt_token,
gallery_jwt_token=gallery_jwt_token,
src_name=src_name,
sentry_dsn=sentry_dsn)
output_list = json.dumps(output_get)
Expand Down

0 comments on commit 8f9abb7

Please sign in to comment.