This commit is contained in:
Vashchuk Nikita 2021-08-27 18:33:21 +03:00
parent 0521d8af09
commit 5e6bd9ee5f
2 changed files with 3 additions and 7 deletions

View File

@ -7,6 +7,7 @@ using ASC.Common;
using ASC.Common.Caching;
using ASC.Common.DependencyInjection;
using ASC.Common.Utils;
using ASC.Webhooks.Core;
using Autofac;
using Autofac.Extensions.DependencyInjection;
@ -66,6 +67,8 @@ namespace ASC.Webhooks.Service
diHelper.TryAdd(typeof(ICacheNotify<>), typeof(KafkaCache<>));
diHelper.TryAdd<DbWorker>();
services.AddHostedService<WebhookHostedService>();
diHelper.TryAdd<WebhookHostedService>();
})

View File

@ -163,13 +163,6 @@ namespace ASC.Api.Documents
return new Module(ProductEntryPoint);
}
[Create("info")]
public Module GetModuleeqwe()
{
ProductEntryPoint.Init();
return new Module(ProductEntryPoint);
}
[Read("@root")]
public IEnumerable<FolderContentWrapper<int>> GetRootFolders(Guid userIdOrGroupId, FilterType filterType, bool withsubfolders, bool withoutTrash, bool withoutAdditionalFolder)
{