Added database table data into configuration. Store saves is auto-handled. Added Action & Redemption stores.

This commit is contained in:
Tom
2024-12-31 18:31:21 +00:00
parent 538bf07454
commit 3429c8f8dc
29 changed files with 657 additions and 374 deletions

View File

@@ -20,10 +20,10 @@ namespace HermesSocketServer.Requests
public Task<RequestResult> Grant(Channel channel, IDictionary<string, object> data)
{
IEnumerable<VoiceDetails> voices = _voices.Get().Select(v => new VoiceDetails()
IEnumerable<TTSVoice> voices = _voices.Get().Select(v => new TTSVoice()
{
Id = v.Value.Id,
Name = v.Value.Name
Name = v.Value.Name,
});
_logger.Information($"Fetched all TTS voices for channel [channel: {channel.Id}]");