minio storage fix pt3

This commit is contained in:
2025-11-25 13:51:42 +02:00
parent 302152449f
commit 934b1b2301

View File

@@ -119,6 +119,7 @@ async def pull_File_from_user(app_id: str, folder: str, file_name: str, env: str
print("Connected to MinIO successfully!")
print("Available buckets:", [bucket.name for bucket in buckets])
miniourl = client.presigned_get_object("mih", path)
print("Generated presigned URL:", miniourl)
# if(env == "Dev"):
# miniourl.replace("minio", "localhost")
# temp = minioResponse.data#.encode('utf-8').strip()