Added database table data into configuration. Store saves is auto-handled. Added Action & Redemption stores.
This commit is contained in:
@@ -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}]");
|
||||
|
||||
Reference in New Issue
Block a user