cleanup for webapi things

This commit is contained in:
zznty
2022-12-02 15:44:38 +07:00
parent ead8e3a4fc
commit 8478ee3752
14 changed files with 125 additions and 112 deletions

View File

@@ -22,6 +22,7 @@ using Torch.Collections;
using Torch.Server.Annotations;
using Torch.Managers;
using Torch.API.Managers;
using Torch.API.WebAPI.Plugin;
namespace Torch.Server.Views
{
@@ -60,7 +61,7 @@ namespace Torch.Server.Views
{
try
{
var res = await PluginQuery.Instance.QueryAll();
var res = await LegacyPluginQuery.Instance.QueryAll();
foreach (var item in res.Plugins.OrderBy(i => i.Name)) {
lock (_syncLock)
{