Add missing ArgumentNullException throw

This commit is contained in:
Dominion
2023-06-12 20:45:14 -04:00
parent e6f142d927
commit 6fbbbc505c
@@ -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);