fix med cert generator api
This commit is contained in:
parent
5d846ef5ca
commit
a1abcd9f3b
1 changed files with 1 additions and 1 deletions
|
|
@ -128,7 +128,7 @@ def uploudMedCert(app_id, fullName, docfname, startDate, endDate, returnDate):
|
||||||
client.make_bucket("mih")
|
client.make_bucket("mih")
|
||||||
else:
|
else:
|
||||||
print("Bucket already exists")
|
print("Bucket already exists")
|
||||||
fileName = f"{app_id}/Med-Cert-{fullName}-{startDate}.pdf"
|
fileName = f"{app_id}/patient_files/Med-Cert-{fullName}-{startDate}.pdf"
|
||||||
client.fput_object("mih", fileName, "temp.pdf")
|
client.fput_object("mih", fileName, "temp.pdf")
|
||||||
|
|
||||||
def generateMedCertPDF(fullName, docfname, startDate, endDate, returnDate):
|
def generateMedCertPDF(fullName, docfname, startDate, endDate, returnDate):
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue