mirror of
https://github.com/Readarr/Readarr
synced 2025-12-26 10:14:51 +01:00
Fix modules derived from BookModuleWithSignalR
This commit is contained in:
parent
3a12ae6956
commit
72f1c8b9a8
4 changed files with 13 additions and 8 deletions
|
|
@ -37,14 +37,16 @@ protected BookModuleWithSignalR(IBookService bookService,
|
|||
}
|
||||
|
||||
protected BookModuleWithSignalR(IBookService bookService,
|
||||
IAuthorStatisticsService authorStatisticsService,
|
||||
IMapCoversToLocal coverMapper,
|
||||
IUpgradableSpecification qualityUpgradableSpecification,
|
||||
IBroadcastSignalRMessage signalRBroadcaster,
|
||||
string resource)
|
||||
ISeriesBookLinkService seriesBookLinkService,
|
||||
IAuthorStatisticsService authorStatisticsService,
|
||||
IMapCoversToLocal coverMapper,
|
||||
IUpgradableSpecification qualityUpgradableSpecification,
|
||||
IBroadcastSignalRMessage signalRBroadcaster,
|
||||
string resource)
|
||||
: base(signalRBroadcaster, resource)
|
||||
{
|
||||
_bookService = bookService;
|
||||
_seriesBookLinkService = seriesBookLinkService;
|
||||
_authorStatisticsService = authorStatisticsService;
|
||||
_coverMapper = coverMapper;
|
||||
_qualityUpgradableSpecification = qualityUpgradableSpecification;
|
||||
|
|
|
|||
|
|
@ -14,11 +14,12 @@ namespace Readarr.Api.V1.Calendar
|
|||
public class CalendarModule : BookModuleWithSignalR
|
||||
{
|
||||
public CalendarModule(IBookService bookService,
|
||||
ISeriesBookLinkService seriesBookLinkService,
|
||||
IAuthorStatisticsService authorStatisticsService,
|
||||
IMapCoversToLocal coverMapper,
|
||||
IUpgradableSpecification upgradableSpecification,
|
||||
IBroadcastSignalRMessage signalRBroadcaster)
|
||||
: base(bookService, authorStatisticsService, coverMapper, upgradableSpecification, signalRBroadcaster, "calendar")
|
||||
: base(bookService, seriesBookLinkService, authorStatisticsService, coverMapper, upgradableSpecification, signalRBroadcaster, "calendar")
|
||||
{
|
||||
GetResourceAll = GetCalendar;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -17,11 +17,12 @@ public class CutoffModule : BookModuleWithSignalR
|
|||
|
||||
public CutoffModule(IBookCutoffService bookCutoffService,
|
||||
IBookService bookService,
|
||||
ISeriesBookLinkService seriesBookLinkService,
|
||||
IAuthorStatisticsService authorStatisticsService,
|
||||
IMapCoversToLocal coverMapper,
|
||||
IUpgradableSpecification upgradableSpecification,
|
||||
IBroadcastSignalRMessage signalRBroadcaster)
|
||||
: base(bookService, authorStatisticsService, coverMapper, upgradableSpecification, signalRBroadcaster, "wanted/cutoff")
|
||||
: base(bookService, seriesBookLinkService, authorStatisticsService, coverMapper, upgradableSpecification, signalRBroadcaster, "wanted/cutoff")
|
||||
{
|
||||
_bookCutoffService = bookCutoffService;
|
||||
GetResourcePaged = GetCutoffUnmetBooks;
|
||||
|
|
|
|||
|
|
@ -14,11 +14,12 @@ namespace Readarr.Api.V1.Wanted
|
|||
public class MissingModule : BookModuleWithSignalR
|
||||
{
|
||||
public MissingModule(IBookService bookService,
|
||||
ISeriesBookLinkService seriesBookLinkService,
|
||||
IAuthorStatisticsService authorStatisticsService,
|
||||
IMapCoversToLocal coverMapper,
|
||||
IUpgradableSpecification upgradableSpecification,
|
||||
IBroadcastSignalRMessage signalRBroadcaster)
|
||||
: base(bookService, authorStatisticsService, coverMapper, upgradableSpecification, signalRBroadcaster, "wanted/missing")
|
||||
: base(bookService, seriesBookLinkService, authorStatisticsService, coverMapper, upgradableSpecification, signalRBroadcaster, "wanted/missing")
|
||||
{
|
||||
GetResourcePaged = GetMissingBooks;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue