Quick fix for url building
This commit is contained in:
parent
4240946334
commit
643fef7c20
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue