From 80378a23f7403b817c7dc812251b03da1c211b33 Mon Sep 17 00:00:00 2001 From: hang <872297557@qq.com> Date: Mon, 16 Mar 2026 11:53:00 +0800 Subject: [PATCH] =?UTF-8?q?=E6=81=A2=E5=A4=8D=E4=B8=BA=E5=90=8C=E6=AD=A5?= =?UTF-8?q?=E6=A8=A1=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- IRaCIS.Core.Application/Helper/OSSService.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/IRaCIS.Core.Application/Helper/OSSService.cs b/IRaCIS.Core.Application/Helper/OSSService.cs index c340d44f5..558b3347d 100644 --- a/IRaCIS.Core.Application/Helper/OSSService.cs +++ b/IRaCIS.Core.Application/Helper/OSSService.cs @@ -551,9 +551,9 @@ public class OSSService : IOSSService var args = new GetObjectArgs() .WithBucket(minIOConfig.BucketName) .WithObject(ossRelativePath) - .WithCallbackStream(async stream => + .WithCallbackStream( stream => { - await stream.CopyToAsync(pipe.Writer.AsStream()); + stream.CopyTo(pipe.Writer.AsStream()); }); await minioClient.GetObjectAsync(args);