Skip to content

Commit

Permalink
removed unused call to ER
Browse files Browse the repository at this point in the history
  • Loading branch information
erlendoksvoll committed Sep 5, 2024
1 parent a95e303 commit 9c74414
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Dan.Plugin.Tilda/Tilda.cs
Original file line number Diff line number Diff line change
Expand Up @@ -444,12 +444,12 @@ private async Task<List<TildaRegistryEntry>> GetOrganizationsFromBR(string organ
{
var brResultTask = Helpers.GetFromBR(organizationNumber, _erClient, false, _policyRegistry);

var entityServiceTask = _entityRegistryService.GetFull(organizationNumber, true, false, false);
//var entityServiceTask = _entityRegistryService.GetFull(organizationNumber, true, false, false);

var accountsInformationTask = Helpers.GetAnnualTurnoverFromBR(organizationNumber, _client, _policyRegistry);
var result = new List<TildaRegistryEntry>();

await Task.WhenAll(entityServiceTask, accountsInformationTask);
await Task.WhenAll(accountsInformationTask);
if (brResultTask.Result.Count > 1)
{
// TODO! Does RR return data for subunits or should this just be null?
Expand Down

0 comments on commit 9c74414

Please sign in to comment.