Skip to content

Commit

Permalink
fix: add null conditional operator to businesscode
Browse files Browse the repository at this point in the history
  • Loading branch information
SondreJDigdir committed Sep 11, 2024
1 parent 83671e5 commit 125b7c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Dan.Plugin.Tilda/Tilda.cs
Original file line number Diff line number Diff line change
Expand Up @@ -561,7 +561,7 @@ private async Task<TildaRegistryEntry> ConvertBRtoTilda(BREntityRegisterEntry br
OrganisationForm = brResult.Organisasjonsform.Kode,
Name = brResult.Navn,
Accounts = accountsInformation,
BusinessCode = brResult.Naeringskode1.Kode,
BusinessCode = brResult.Naeringskode1?.Kode,
OperationalStatus = GetOperationStatus(brResult),
OrganizationNumber = brResult.Organisasjonsnummer.ToString()
};
Expand Down

0 comments on commit 125b7c9

Please sign in to comment.