Removal of default policies.
This commit is contained in:
parent
b724cd00eb
commit
75fa154546
@ -31,8 +31,7 @@ namespace TwitchChatTTS.Hermes.Socket.Requests
|
||||
var policies = JsonSerializer.Deserialize<IEnumerable<Policy>>(json, _options);
|
||||
if (policies == null || !policies.Any())
|
||||
{
|
||||
_logger.Information($"No policies have been found. Policies have been set to default.");
|
||||
_policies.Set("everyone", "tts", 25, TimeSpan.FromSeconds(15));
|
||||
_logger.Error($"No policies have been found.");
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user