Fixed compiler warnings.
This commit is contained in:
@@ -15,12 +15,12 @@ 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)
|
||||
{
|
||||
IEnumerable<TTSWordFilter> filters = channel.Filters.Get().Values;
|
||||
|
||||
_logger.Information($"Fetched all word filters for channel [channel: {channel.Id}]");
|
||||
return RequestResult.Successful(filters, notifyClientsOnAccount: false);
|
||||
return Task.FromResult(RequestResult.Successful(filters, notifyClientsOnAccount: false));
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user