From 7e8dbbe6179ea156ea4f6305b0bf56a0e0e08322 Mon Sep 17 00:00:00 2001 From: Bryan Jonker Date: Wed, 9 Oct 2024 18:59:06 -0500 Subject: [PATCH] Re-add faculty load --- uofi-itp-directory-function/Program.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"]));