mirror of
https://github.com/Readarr/Readarr.git
synced 2026-04-19 21:44:30 -04:00
Scheduled Tasks should work as long as they are registered.
This commit is contained in:
@@ -28,7 +28,7 @@ namespace NzbDrone.Common
|
||||
|
||||
public IEnumerable<T> BuildAll<T>() where T : class
|
||||
{
|
||||
return _container.ResolveAll<T>();
|
||||
return _container.ResolveAll<T>().GroupBy(c => c.GetType().FullName).Select(g => g.First());
|
||||
}
|
||||
|
||||
public object Build(Type contract)
|
||||
|
||||
Reference in New Issue
Block a user