Skip to content

Commit

Permalink
Fixed #2514
Browse files Browse the repository at this point in the history
  • Loading branch information
tidusjar committed Oct 20, 2018
1 parent a404ba3 commit 720adca
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions src/Ombi.Core/Rule/Rules/Search/CouchPotatoCacheRule.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down
4 changes: 2 additions & 2 deletions src/Ombi.Core/Rule/Rules/Search/LidarrAlbumCacheRule.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down
4 changes: 2 additions & 2 deletions src/Ombi.Core/Rule/Rules/Search/LidarrArtistCacheRule.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down
4 changes: 2 additions & 2 deletions src/Ombi.Core/Rule/Rules/Search/RadarrCacheRule.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down

0 comments on commit 720adca

Please sign in to comment.