Browse Source

Update ApplicationHost.cs

BaronGreenback 4 năm trước cách đây
mục cha
commit
2929ce6e0d
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  1. 1 0
      Emby.Server.Implementations/ApplicationHost.cs

+ 1 - 0
Emby.Server.Implementations/ApplicationHost.cs

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