Skip to content

Commit

Permalink
feat(registration): add type to applications endpoint (#900)
Browse files Browse the repository at this point in the history
Reviewed-By: Phil Schneider <info@philschneider.de>
Refs: #842
  • Loading branch information
AnuragNagpure authored Aug 8, 2024
1 parent 4dea66d commit 4ff4a7e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,8 @@ private async Task<CompanyWithAddressData> GetCompanyWithAddressAsyncInternal(Gu
&& companyUser.Email != null)
.Select(companyUser => companyUser!.Email)
.FirstOrDefault(),
application.Company.BusinessPartnerNumber))
application.Company.BusinessPartnerNumber,
application.CompanyApplicationTypeId))
.AsAsyncEnumerable()));
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,9 @@ public record CompanyApplicationDetails(
[property: JsonPropertyName("companyRoles")] IEnumerable<CompanyRoleId> CompanyRoles,
[property: JsonPropertyName("applicationChecklist")] IEnumerable<ApplicationChecklistEntryDetails> ApplicationChecklist,
[property: JsonPropertyName("email")] string? Email,
[property: JsonPropertyName("bpn")] string? BusinessPartnerNumber
[property: JsonPropertyName("bpn")] string? BusinessPartnerNumber,
[property: JsonPropertyName("type")] CompanyApplicationTypeId CompanyApplicationTypeId

);

public record ApplicationChecklistEntryDetails(
Expand Down

0 comments on commit 4ff4a7e

Please sign in to comment.