diff --git a/uofi-itp-directory-function/Program.cs b/uofi-itp-directory-function/Program.cs index 04e4ca8..9dd8228 100644 --- a/uofi-itp-directory-function/Program.cs +++ b/uofi-itp-directory-function/Program.cs @@ -38,7 +38,7 @@ _ = services.AddScoped(); _ = services.AddScoped(); _ = services.AddScoped(); - _ = services.AddScoped(c => new DirectoryHookHelper(c.GetService(), "")); + _ = services.AddScoped(c => new DirectoryHookHelper(c.GetService(), hostContext.Configuration["Values:FacultyLoadUrl"])); _ = services.AddScoped(c => new EmployeeHelper(c.GetService(), null, c.GetService(), c.GetService(), c.GetService())); _ = services.AddScoped(); _ = services.AddScoped(c => new DataWarehouseManager(hostContext.Configuration["Values:DataWarehouseUrl"], hostContext.Configuration["Values:DataWarehouseKey"]));