Skip to content

Commit

Permalink
chore: change LegalPerson to LegalParticipant for SD call (#142)
Browse files Browse the repository at this point in the history
Refs: CPLP-2962
Reviewed-By: Norbert Truchsess <norbert.truchsess@t-online.de>
  • Loading branch information
Phil91 authored Jul 14, 2023
1 parent c829724 commit 2ef5cec
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,8 @@ public record ConnectorSdFactoryRequestModel(

public enum SdFactoryRequestModelSdType
{
[EnumMember(Value = "LegalPerson")]
LegalPerson,
[EnumMember(Value = "LegalParticipant")]
LegalParticipant,

[EnumMember(Value = "ServiceOffering")]
ServiceOffering
Expand Down
2 changes: 1 addition & 1 deletion src/externalsystems/SdFactory.Library/SdFactoryService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ public async Task RegisterSelfDescriptionAsync(Guid applicationId, IEnumerable<(
uniqueIdentifiers.Select(x => new RegistrationNumber(x.Id.GetSdUniqueIdentifierValue(), x.Value)),
countryCode,
countryCode,
SdFactoryRequestModelSdType.LegalPerson,
SdFactoryRequestModelSdType.LegalParticipant,
businessPartnerNumber,
businessPartnerNumber,
_settings.SdFactoryIssuerBpn);
Expand Down

0 comments on commit 2ef5cec

Please sign in to comment.