mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-08-14 10:36:54 -07:00
Fixed #2514
This commit is contained in:
parent
a404ba3f4b
commit
720adca896
4 changed files with 8 additions and 8 deletions
|
@ -11,12 +11,12 @@ namespace Ombi.Core.Rule.Rules.Search
|
|||
{
|
||||
public class CouchPotatoCacheRule : BaseSearchRule, IRules<SearchViewModel>
|
||||
{
|
||||
public CouchPotatoCacheRule(IRepository<CouchPotatoCache> ctx)
|
||||
public CouchPotatoCacheRule(IExternalRepository<CouchPotatoCache> ctx)
|
||||
{
|
||||
_ctx = ctx;
|
||||
}
|
||||
|
||||
private readonly IRepository<CouchPotatoCache> _ctx;
|
||||
private readonly IExternalRepository<CouchPotatoCache> _ctx;
|
||||
|
||||
public async Task<RuleResult> Execute(SearchViewModel obj)
|
||||
{
|
||||
|
|
|
@ -10,12 +10,12 @@ namespace Ombi.Core.Rule.Rules.Search
|
|||
{
|
||||
public class LidarrAlbumCacheRule : SpecificRule, ISpecificRule<object>
|
||||
{
|
||||
public LidarrAlbumCacheRule(IRepository<LidarrAlbumCache> db)
|
||||
public LidarrAlbumCacheRule(IExternalRepository<LidarrAlbumCache> db)
|
||||
{
|
||||
_db = db;
|
||||
}
|
||||
|
||||
private readonly IRepository<LidarrAlbumCache> _db;
|
||||
private readonly IExternalRepository<LidarrAlbumCache> _db;
|
||||
|
||||
public Task<RuleResult> Execute(object objec)
|
||||
{
|
||||
|
|
|
@ -10,12 +10,12 @@ namespace Ombi.Core.Rule.Rules.Search
|
|||
{
|
||||
public class LidarrArtistCacheRule : SpecificRule, ISpecificRule<object>
|
||||
{
|
||||
public LidarrArtistCacheRule(IRepository<LidarrArtistCache> db)
|
||||
public LidarrArtistCacheRule(IExternalRepository<LidarrArtistCache> db)
|
||||
{
|
||||
_db = db;
|
||||
}
|
||||
|
||||
private readonly IRepository<LidarrArtistCache> _db;
|
||||
private readonly IExternalRepository<LidarrArtistCache> _db;
|
||||
|
||||
public Task<RuleResult> Execute(object objec)
|
||||
{
|
||||
|
|
|
@ -9,12 +9,12 @@ namespace Ombi.Core.Rule.Rules.Search
|
|||
{
|
||||
public class RadarrCacheRule : BaseSearchRule, IRules<SearchViewModel>
|
||||
{
|
||||
public RadarrCacheRule(IRepository<RadarrCache> db)
|
||||
public RadarrCacheRule(IExternalRepository<RadarrCache> db)
|
||||
{
|
||||
_db = db;
|
||||
}
|
||||
|
||||
private readonly IRepository<RadarrCache> _db;
|
||||
private readonly IExternalRepository<RadarrCache> _db;
|
||||
|
||||
public Task<RuleResult> Execute(SearchViewModel obj)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue