diff --git a/Requests/GetTTSWordFilters.cs b/Requests/GetTTSWordFilters.cs index f20ff4f..ab701cb 100644 --- a/Requests/GetTTSWordFilters.cs +++ b/Requests/GetTTSWordFilters.cs @@ -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; } diff --git a/Requests/UpdatePolicy.cs b/Requests/UpdatePolicy.cs index b1d487b..aebb02e 100644 --- a/Requests/UpdatePolicy.cs +++ b/Requests/UpdatePolicy.cs @@ -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; } diff --git a/Requests/UpdateTTSFilter.cs b/Requests/UpdateTTSFilter.cs index 0c1735e..a107ba4 100644 --- a/Requests/UpdateTTSFilter.cs +++ b/Requests/UpdateTTSFilter.cs @@ -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; } diff --git a/Requests/UpdateTTSUser.cs b/Requests/UpdateTTSUser.cs index 8f497a9..2a5c6dc 100644 --- a/Requests/UpdateTTSUser.cs +++ b/Requests/UpdateTTSUser.cs @@ -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;