Fix invalid types for some discord webhook values (#19515)

This commit is contained in:
DrSmugleaf
2023-08-24 22:59:43 -07:00
committed by GitHub
parent 0326badcb7
commit 4daabaae05
4 changed files with 8 additions and 8 deletions

View File

@@ -144,7 +144,7 @@ namespace Content.Server.Administration.Systems
_config.UnsubValueChanged(CVars.GameHostName, OnServerNameChanged);
}
private void OnWebhookChanged(string url)
private async void OnWebhookChanged(string url)
{
_webhookUrl = url;
@@ -173,7 +173,7 @@ namespace Content.Server.Administration.Systems
var webhookToken = match.Groups[2].Value;
// Fire and forget
_ = SetWebhookData(webhookId, webhookToken);
await SetWebhookData(webhookId, webhookToken);
}
private async Task SetWebhookData(string id, string token)