clear up warning
This commit is contained in:
parent
1fe14e966f
commit
a3722980e7
@ -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";
|
||||||
|
Loading…
Reference in New Issue
Block a user