Quick fix for url building

This commit is contained in:
Jon Herron 2023-02-02 15:04:57 -05:00
parent 4240946334
commit 643fef7c20
1 changed files with 2 additions and 2 deletions

View File

@ -44,8 +44,8 @@ class GetMarkdownFileDownloadLink(Script):
) )
process_instance_id = script_attributes_context.process_instance_id process_instance_id = script_attributes_context.process_instance_id
url = current_app.config["SPIFFWORKFLOW_BACKEND_URL"] url = current_app.config["SPIFFWORKFLOW_BACKEND_URL"]
url += f"/v1.0/process-data-file-download/{modified_process_model_identifier}/" url += f"/v1.0/process-data-file-download/{modified_process_model_identifier}/" + \
f"{process_instance_id}/{process_data_identifier}?index={file_index}" f"{process_instance_id}/{process_data_identifier}?index={file_index}"
link = f"[{label}]({url})" link = f"[{label}]({url})"
return link return link