mirror of
https://github.com/sartography/spiff-arena.git
synced 2025-01-13 19:15:31 +00:00
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
|
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})"
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user