diff --git a/src/Altinn.Profile/UseCases/ContactDetailsRetriever.cs b/src/Altinn.Profile/UseCases/ContactDetailsRetriever.cs index 122e97b..f352262 100644 --- a/src/Altinn.Profile/UseCases/ContactDetailsRetriever.cs +++ b/src/Altinn.Profile/UseCases/ContactDetailsRetriever.cs @@ -86,6 +86,6 @@ private Result MapToContactDetailsLookupResult var matchedContactDetails = lookupResult.MatchedPersonContactDetails?.Select(MapToContactDetails).ToImmutableList(); - return new ContactDetailsLookupResult(matchedContactDetails, lookupResult?.UnmatchedNationalIdentityNumbers); + return new ContactDetailsLookupResult(matchedContactDetails, lookupResult.UnmatchedNationalIdentityNumbers); } }