Update ApplicationHost.cs

pull/4253/head
BaronGreenback 4 years ago committed by GitHub
parent 298a322ac1
commit 2929ce6e0d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1540,6 +1540,7 @@ namespace Emby.Server.Implementations
public IEnumerable<Assembly> GetApiPluginAssemblies() public IEnumerable<Assembly> GetApiPluginAssemblies()
{ {
var assemblies = _allConcreteTypes var assemblies = _allConcreteTypes
.Select(LoadPlugin)
.Where(i => typeof(ControllerBase).IsAssignableFrom(i)) .Where(i => typeof(ControllerBase).IsAssignableFrom(i))
.Select(i => i.Assembly) .Select(i => i.Assembly)
.Distinct(); .Distinct();

Loading…
Cancel
Save