Fixed compiler warnings.
This commit is contained in:
@@ -14,11 +14,11 @@ namespace HermesSocketServer.Requests
|
||||
_logger = logger;
|
||||
}
|
||||
|
||||
public async Task<RequestResult> Grant(Channel channel, IDictionary<string, object> data)
|
||||
public Task<RequestResult> Grant(Channel channel, IDictionary<string, object> data)
|
||||
{
|
||||
var results = channel.Chatters.Get().ToDictionary(p => p.Key, p => p.Value.VoiceId);
|
||||
_logger.Information($"Fetched all chatters' selected tts voice for channel [channel: {channel.Id}]");
|
||||
return RequestResult.Successful(results, notifyClientsOnAccount: false);
|
||||
return Task.FromResult(RequestResult.Successful(results, notifyClientsOnAccount: false));
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user