diff --git a/apps/nestjs-backend/src/features/attachments/plugins/minio.ts b/apps/nestjs-backend/src/features/attachments/plugins/minio.ts index e4eac4d31..b2e3437c4 100644 --- a/apps/nestjs-backend/src/features/attachments/plugins/minio.ts +++ b/apps/nestjs-backend/src/features/attachments/plugins/minio.ts @@ -140,7 +140,12 @@ export class MinioStorage implements StorageAdapter { filePath: string, metadata: Record ) { - const { etag: hash } = await this.minioClient.fPutObject(bucket, path, filePath, metadata); + const { etag: hash } = await this.minioClientPrivateNetwork.fPutObject( + bucket, + path, + filePath, + metadata + ); return { hash, path,