mirror of
https://github.com/tgstation/tgstation-server.git
synced 2026-08-25 22:17:51 +01:00
Add missing ArgumentNullException throw
This commit is contained in:
@@ -131,6 +131,8 @@ namespace Tgstation.Server.Host.Components.Chat.Providers
|
||||
/// <inheritdoc />
|
||||
public async Task<Dictionary<ChatChannel, IEnumerable<ChannelRepresentation>>> MapChannels(IEnumerable<ChatChannel> channels, CancellationToken cancellationToken)
|
||||
{
|
||||
ArgumentNullException.ThrowIfNull(channels);
|
||||
|
||||
try
|
||||
{
|
||||
return await MapChannelsImpl(channels, cancellationToken);
|
||||
|
||||
Reference in New Issue
Block a user