Skip to content

Commit

Permalink
Refactor: Remove unused PersonNameComponents type.
Browse files Browse the repository at this point in the history
  • Loading branch information
Ahmed-Ghanam committed Dec 5, 2024
1 parent 5a57ce7 commit 9cd7ec3
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 29 deletions.
6 changes: 0 additions & 6 deletions src/Altinn.Notifications.Core/Models/Parties/PartyDetails.cs
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,6 @@ public class PartyDetails
[JsonPropertyName("orgNo")]
public string? OrganizationNumber { get; set; }

/// <summary>
/// Gets or sets the components of the person's name, if available.
/// </summary>
[JsonPropertyName("personName")]
public PersonNameComponents? PersonName { get; set; }

/// <summary>
/// Gets or sets the social security number of the party, if applicable.
/// </summary>
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,6 @@ public async Task<List<PartyDetails>> GetPartyDetailsForPersons(List<string> soc
{
Content = content
};
request.Headers.Add("partyComponentOption", "person-name");

var response = await _client.SendAsync(request);

Expand Down

0 comments on commit 9cd7ec3

Please sign in to comment.