From c326c231d9ccebd4417bdc05a0f1d9efc13a556d Mon Sep 17 00:00:00 2001 From: Christy Henriksson Date: Tue, 31 Oct 2017 14:42:35 -0700 Subject: [PATCH] OwinStartup NullRef fix (#4937) --- src/NuGetGallery/App_Start/DefaultDependenciesModule.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/NuGetGallery/App_Start/DefaultDependenciesModule.cs b/src/NuGetGallery/App_Start/DefaultDependenciesModule.cs index 95a9a1c0cf..4ddecc5111 100644 --- a/src/NuGetGallery/App_Start/DefaultDependenciesModule.cs +++ b/src/NuGetGallery/App_Start/DefaultDependenciesModule.cs @@ -41,6 +41,7 @@ protected override void Load(ContainerBuilder builder) { var telemetryClient = TelemetryClientWrapper.Instance; builder.RegisterInstance(telemetryClient) + .AsSelf() .As() .SingleInstance();