Quick fix for url building
This commit is contained in:
parent
4240946334
commit
643fef7c20
|
@ -44,7 +44,7 @@ class GetMarkdownFileDownloadLink(Script):
|
|||
)
|
||||
process_instance_id = script_attributes_context.process_instance_id
|
||||
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}"
|
||||
link = f"[{label}]({url})"
|
||||
|
||||
|
|
Loading…
Reference in New Issue