Fix compile (#38477)
This commit is contained in:
committed by
GitHub
parent
b4515e7b58
commit
0d346840da
@@ -239,12 +239,18 @@ public sealed class NewsSystem : SharedNewsSystem
|
||||
}
|
||||
|
||||
if (_webhookSendDuringRound)
|
||||
Task.Run(async () => await SendArticleToDiscordWebhook(article));
|
||||
AddNewsSendWebhook(article.Value);
|
||||
|
||||
UpdateWriterDevices();
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
private async void AddNewsSendWebhook(NewsArticle article)
|
||||
{
|
||||
await Task.Run(async () => await SendArticleToDiscordWebhook(article));
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
#region Reader Event Handlers
|
||||
|
||||
Reference in New Issue
Block a user