From a1abcd9f3b946f31a28233b62bc6245b317f13e4 Mon Sep 17 00:00:00 2001 From: yaso-meth Date: Wed, 14 Aug 2024 10:53:57 +0200 Subject: [PATCH] fix med cert generator api --- backend/routers/fileStorage.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/routers/fileStorage.py b/backend/routers/fileStorage.py index b4668620..d4ce95c5 100644 --- a/backend/routers/fileStorage.py +++ b/backend/routers/fileStorage.py @@ -128,7 +128,7 @@ def uploudMedCert(app_id, fullName, docfname, startDate, endDate, returnDate): client.make_bucket("mih") else: 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") def generateMedCertPDF(fullName, docfname, startDate, endDate, returnDate):