From 302152449f5146b7e815e95acbb1fdcf42706be7 Mon Sep 17 00:00:00 2001 From: Yasien Mac Mini Date: Tue, 25 Nov 2025 13:42:46 +0200 Subject: [PATCH] minio storage fix pt2 --- backend/routers/fileStorage.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/backend/routers/fileStorage.py b/backend/routers/fileStorage.py index 34223dc5..563c51d8 100644 --- a/backend/routers/fileStorage.py +++ b/backend/routers/fileStorage.py @@ -115,7 +115,9 @@ async def pull_File_from_user(app_id: str, folder: str, file_name: str, env: str # uploudFile(app_id, file.filename, extension[1], content) client = Minio_Storage.minioConnection.minioConnect(env) - + buckets = client.list_buckets() + print("Connected to MinIO successfully!") + print("Available buckets:", [bucket.name for bucket in buckets]) miniourl = client.presigned_get_object("mih", path) # if(env == "Dev"): # miniourl.replace("minio", "localhost")