Skip to content

Commit

Permalink
Fix bug to access correct PHSA config for admin for AB#16808 (#6280)
Browse files Browse the repository at this point in the history
  • Loading branch information
BrianMaki authored Jul 31, 2024
1 parent 47eebbb commit 14aff0a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Apps/Admin/Server/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ private static void AddServices(IServiceCollection services, ConfigurationManage
services.AddTransient<ICovidSupportService, CovidSupportService>();
services.AddTransient<IAdminReportService, AdminReportService>();
services.AddTransient<IBetaFeatureService, BetaFeatureService>();
services.AddPatientRepositoryConfiguration(new AccountDataAccessConfiguration(configuration.GetSection("PhsaV2:BaseUrl").Get<Uri>()!));
services.AddPatientRepositoryConfiguration(new AccountDataAccessConfiguration(configuration.GetSection("PhsaV2Admin:BaseUrl").Get<Uri>()!));
}

private static void AddDelegates(IServiceCollection services)
Expand Down

0 comments on commit 14aff0a

Please sign in to comment.