diff --git a/src/Moonglade.ImageStorage/Providers/MinioBlobImageStorage.cs b/src/Moonglade.ImageStorage/Providers/MinioBlobImageStorage.cs index f257e5a87..d9b7318ac 100644 --- a/src/Moonglade.ImageStorage/Providers/MinioBlobImageStorage.cs +++ b/src/Moonglade.ImageStorage/Providers/MinioBlobImageStorage.cs @@ -1,5 +1,6 @@ using Microsoft.Extensions.Logging; using Minio; +using Minio.DataModel.Args; using Minio.Exceptions; namespace Moonglade.ImageStorage.Providers; @@ -8,7 +9,7 @@ public class MinioBlobImageStorage : IBlogImageStorage { public string Name => nameof(MinioBlobImageStorage); - private readonly MinioClient _client; + private readonly IMinioClient _client; private readonly string _bucketName; private readonly ILogger _logger;