Skip to content

Commit

Permalink
Changed PRISM Portal -> DepMap portal to redirect users to DE2 (#155)
Browse files Browse the repository at this point in the history
  • Loading branch information
pgm committed Dec 19, 2024
1 parent d23c9d7 commit aecae73
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion portal-backend/depmap/interactive/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -860,6 +860,7 @@ def download_csv_and_view_interactive():
display_name = request.args["display_name"]
units = request.args["units"]
file_url = request.args["url"]
use_de2 = request.args.get("de2", "T") == "T"

url_upload_whitelist = flask.current_app.config["URL_UPLOAD_WHITELIST"]

Expand All @@ -878,7 +879,7 @@ def download_csv_and_view_interactive():
abort(400)

result = upload_transient_csv.apply(
args=[display_name, units, True, csv_path, False]
args=[display_name, units, True, csv_path, False, use_de2]
)

if result.state == TaskState.SUCCESS.value:
Expand Down

0 comments on commit aecae73

Please sign in to comment.