clear up warning

This commit is contained in:
Adam R. Grey 2021-09-05 02:01:08 -04:00
parent 1fe14e966f
commit a3722980e7

View File

@ -47,7 +47,7 @@ namespace Director
//Task.Run(() => forwardToDiscord(message, logLevel)); //Task.Run(() => forwardToDiscord(message, logLevel));
} }
} }
public async void forwardToDiscord(string message, LogLevel logLevel) public void forwardToDiscord(string message, LogLevel logLevel)
{ {
var httpWebRequest = (HttpWebRequest)WebRequest.Create(call_for_humans_discord_webhook); var httpWebRequest = (HttpWebRequest)WebRequest.Create(call_for_humans_discord_webhook);
httpWebRequest.ContentType = "application/json"; httpWebRequest.ContentType = "application/json";