Skip to content

Commit

Permalink
Fixed ObfuscatorService dependency injection bug
Browse files Browse the repository at this point in the history
  • Loading branch information
ndobb committed May 30, 2020
1 parent ae3dead commit d588c35
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/server/API/Options/StartupExtensions.Services.cs
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
using Model.Search;
using Model.Import;
using Model.Notification;
using Model.Obfuscation;
using Services.Admin.Compiler;
using Services.Admin.Network;
using Services.Admin.Query;
Expand All @@ -41,6 +42,7 @@
using Services.Search;
using Services.Import;
using Services.Notification;
using Services.Obfuscation;

namespace API.Options
{
Expand Down Expand Up @@ -103,6 +105,7 @@ public static IServiceCollection RegisterLeafServices(
services.AddTransient<DataImporter.IImportService, ImportService>();
services.AddTransient<DataImporter.IImportIdentifierMappingService, ImportIdentifierMappingService>();
services.AddTransient<NotificationManager.INotificationService, SmtpService>();
services.AddTransient<IObfuscationService, ObfuscationService>();

services.AddAdminServices();
services.RegisterLeafCore();
Expand Down

0 comments on commit d588c35

Please sign in to comment.