Fixed runtime error.

This commit is contained in:
Steven Hildreth 2019-07-20 23:35:12 -05:00
parent efebb26539
commit b4f4c6d901

View file

@ -38,12 +38,13 @@ namespace Roadie.Api.Services
private ILogger MessageLogger => EventMessageLogger as ILogger; private ILogger MessageLogger => EventMessageLogger as ILogger;
private IReleaseLookupEngine ReleaseLookupEngine { get; } private IReleaseLookupEngine ReleaseLookupEngine { get; }
private IReleaseService ReleaseService { get; } private IReleaseService ReleaseService { get; }
public AdminService(IRoadieSettings configuration, IHttpEncoder httpEncoder, IHttpContext httpContext, public AdminService(IRoadieSettings configuration, IHttpEncoder httpEncoder, IHttpContext httpContext,
data.IRoadieDbContext context, ICacheManager cacheManager, ILogger<ArtistService> logger, data.IRoadieDbContext context, ICacheManager cacheManager, ILogger<ArtistService> logger,
IHubContext<ScanActivityHub> scanActivityHub, IFileDirectoryProcessorService fileDirectoryProcessorService, IArtistService artistService, IHubContext<ScanActivityHub> scanActivityHub, IFileDirectoryProcessorService fileDirectoryProcessorService, IArtistService artistService,
IReleaseService releaseService IReleaseService releaseService, IReleaseLookupEngine releaseLookupEngine
) )
: base(configuration, httpEncoder, context, cacheManager, logger, httpContext) : base(configuration, httpEncoder, context, cacheManager, logger, httpContext)
{ {
@ -53,7 +54,7 @@ namespace Roadie.Api.Services
ArtistService = artistService; ArtistService = artistService;
ReleaseService = releaseService; ReleaseService = releaseService;
ReleaseLookupEngine = releaseLookupEngine;
FileDirectoryProcessorService = fileDirectoryProcessorService; FileDirectoryProcessorService = fileDirectoryProcessorService;
} }