FIX(chat): MINIO_BUCKET_NAME

MINIO_BUCKET_NAME
This commit is contained in:
Haydar Ghasemi 2026-07-27 13:35:17 +03:30
parent 27a8e3729d
commit c1877cb884

View file

@ -25,7 +25,7 @@ class StorageService:
secret_key=getattr(settings, "MINIO_SECRET_KEY", None),
secure=secure,
)
self._bucket = getattr(settings, "MINIO_BUCKET_CHAT", "chat")
self._bucket = getattr(settings, "MINIO_BUCKET_NAME", "chat")
self._expiry = timedelta(
seconds=getattr(settings, "MINIO_PRESIGN_EXPIRY_SECONDS", 3600)
)