Skip to content
This repository was archived by the owner on Jul 30, 2024. It is now read-only.

Commit 55a05b9

Browse files
authored
Fixed null reference exception (#365)
1 parent f11937d commit 55a05b9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/NuGet.Services.Validation.Orchestrator/PackageCertificates/PackageCertificatesValidator.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,8 +226,8 @@ private Task<PackageSignature> FindSignatureAsync(IValidationRequest request)
226226
{
227227
return _validationContext
228228
.PackageSignatures
229-
.Include(s => s.TrustedTimestamps)
230229
.Include(s => s.EndCertificate)
230+
.Include(s => s.TrustedTimestamps.Select(t => t.EndCertificate))
231231
.SingleAsync(s => s.PackageKey == request.PackageKey);
232232
}
233233

0 commit comments

Comments
 (0)