From aa42a9a71897f16d69fad0da5fcd28809a440d93 Mon Sep 17 00:00:00 2001 From: Edi Wang Date: Sat, 30 Sep 2023 16:46:16 +0800 Subject: [PATCH] fix build --- src/Moonglade.ImageStorage/Providers/MinioBlobImageStorage.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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;