Changing the contract file name to the contract label. Updating label content with a dash

This commit is contained in:
ewandor committed 2023-03-24 13:42:07 +01:00
1 parent b89d043880
commit f9867b3e2b
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -130,7 +130,7 @@ async def create_pdf(contract_id: str) -> str:
return FileResponse(
contract_path,
media_type="application/pdf",
filename=contract.name)
filename=contract.label)
def retrieve_signature_png(filepath):