Removal of ChannelManager where not in use.
This commit is contained in:
parent
21cb5c9453
commit
525725a7e5
@ -1,6 +1,5 @@
|
||||
using HermesSocketLibrary.Requests.Messages;
|
||||
using HermesSocketServer.Models;
|
||||
using HermesSocketServer.Services;
|
||||
using ILogger = Serilog.ILogger;
|
||||
|
||||
namespace HermesSocketServer.Requests
|
||||
@ -9,12 +8,10 @@ namespace HermesSocketServer.Requests
|
||||
{
|
||||
public string Name => "get_tts_word_filters";
|
||||
public string[] RequiredKeys => [];
|
||||
private ChannelManager _channels;
|
||||
private ILogger _logger;
|
||||
|
||||
public GetTTSWordFilters(ChannelManager channels, ILogger logger)
|
||||
public GetTTSWordFilters(ILogger logger)
|
||||
{
|
||||
_channels = channels;
|
||||
_logger = logger;
|
||||
}
|
||||
|
||||
|
@ -1,5 +1,4 @@
|
||||
using HermesSocketServer.Models;
|
||||
using HermesSocketServer.Services;
|
||||
using ILogger = Serilog.ILogger;
|
||||
|
||||
namespace HermesSocketServer.Requests
|
||||
@ -8,12 +7,10 @@ namespace HermesSocketServer.Requests
|
||||
{
|
||||
public string Name => "update_policy";
|
||||
public string[] RequiredKeys => ["id", "groupId", "path", "count", "span"];
|
||||
private ChannelManager _channels;
|
||||
private ILogger _logger;
|
||||
|
||||
public UpdatePolicy(ChannelManager channels, ILogger logger)
|
||||
public UpdatePolicy(ILogger logger)
|
||||
{
|
||||
_channels = channels;
|
||||
_logger = logger;
|
||||
}
|
||||
|
||||
|
@ -9,12 +9,10 @@ namespace HermesSocketServer.Requests
|
||||
{
|
||||
public string Name => "update_tts_filter";
|
||||
public string[] RequiredKeys => ["id", "search", "replace"];
|
||||
private ChannelManager _channels;
|
||||
private ILogger _logger;
|
||||
|
||||
public UpdateTTSFilter(ChannelManager channels, ILogger logger)
|
||||
public UpdateTTSFilter(ILogger logger)
|
||||
{
|
||||
_channels = channels;
|
||||
_logger = logger;
|
||||
}
|
||||
|
||||
|
@ -9,7 +9,6 @@ namespace HermesSocketServer.Requests
|
||||
{
|
||||
public string Name => "update_tts_user";
|
||||
public string[] RequiredKeys => ["chatter", "voice"];
|
||||
private ChannelManager _channels;
|
||||
private Database _database;
|
||||
private readonly ServerConfiguration _configuration;
|
||||
private ILogger _logger;
|
||||
|
Loading…
x
Reference in New Issue
Block a user