Skip to content

Commit d9a35b7

Browse files
committed
use class and not the interface to fix the error
1 parent e27e1bd commit d9a35b7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ImageSharp.Web.Providers.AWS/Providers/AWSS3StorageImageProvider.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ private bool IsMatch(HttpContext context)
154154
}
155155

156156
// ref https://github.com/aws/aws-sdk-net/blob/master/sdk/src/Services/S3/Custom/_bcl/IO/S3FileInfo.cs#L118
157-
private static async Task<KeyExistsResult> KeyExists(IAmazonS3 s3Client, string bucketName, string key)
157+
private static async Task<KeyExistsResult> KeyExists(AmazonS3Client s3Client, string bucketName, string key)
158158
{
159159
try
160160
{

0 commit comments

Comments
 (0)