Esempio n. 1
0
 public async Task SendOneArticleAsync(Article article)
 {
     Log.Logger.Information($"Sending {article.title}");
     foreach (string url in webhookUrls)
     {
         await _webhooks.SendWebhook(url, article);
     }
     _memory.SaveUrl(article.url);
     _memory.FlushWriter();
 }