Skip to content

Commit

Permalink
OwinStartup NullRef fix (#4937)
Browse files Browse the repository at this point in the history
  • Loading branch information
chenriksson committed Oct 31, 2017
1 parent e5801ee commit c326c23
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/NuGetGallery/App_Start/DefaultDependenciesModule.cs
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ protected override void Load(ContainerBuilder builder)
{
var telemetryClient = TelemetryClientWrapper.Instance;
builder.RegisterInstance(telemetryClient)
.AsSelf()
.As<ITelemetryClient>()
.SingleInstance();

Expand Down

0 comments on commit c326c23

Please sign in to comment.