Changing the contract file name to the contract label. Updating label content with a dash
This commit is contained in:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user