Skip to content

Commit a61e19d

Browse files
committed
Fix error after updating to latest
1 parent 5341d87 commit a61e19d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/ImageSharp.Web.Providers.AWS/Resolvers/AWSS3StorageImageResolver.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ public class AWSS3StorageImageResolver : IImageResolver
1515
private readonly IAmazonS3 amazonS3;
1616
private readonly string bucketName;
1717
private readonly string imagePath;
18-
private readonly GetObjectMetadataResponse metadataResponse;
18+
private readonly GetObjectMetadataResponse? metadataResponse;
1919

2020
/// <summary>
2121
/// Initializes a new instance of the <see cref="AWSS3StorageImageResolver"/> class.
@@ -24,7 +24,7 @@ public class AWSS3StorageImageResolver : IImageResolver
2424
/// <param name="bucketName">The bucket name.</param>
2525
/// <param name="imagePath">The image path.</param>
2626
/// <param name="metadataResponse">Optional metadata response.</param>
27-
public AWSS3StorageImageResolver(IAmazonS3 amazonS3, string bucketName, string imagePath, GetObjectMetadataResponse metadataResponse = null)
27+
public AWSS3StorageImageResolver(IAmazonS3 amazonS3, string bucketName, string imagePath, GetObjectMetadataResponse? metadataResponse = null)
2828
{
2929
this.amazonS3 = amazonS3;
3030
this.bucketName = bucketName;

0 commit comments

Comments
 (0)