mirror of
https://github.com/Prowlarr/Prowlarr
synced 2026-02-05 22:42:22 +01:00
Fixed: Only Sync Indexers with Sync Enabled
This commit is contained in:
parent
9044e9ede6
commit
e09a63ca5d
1 changed files with 2 additions and 1 deletions
|
|
@ -70,7 +70,8 @@ public void HandleAsync(ProviderUpdatedEvent<IIndexer> message)
|
|||
|
||||
public void Execute(ApplicationIndexerSyncCommand message)
|
||||
{
|
||||
var enabledApps = _applicationsFactory.GetAvailableProviders();
|
||||
var enabledApps = _applicationsFactory.GetAvailableProviders()
|
||||
.Where(n => ((ApplicationDefinition)n.Definition).Enable);
|
||||
|
||||
foreach (var app in enabledApps)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue