Skip to content

Commit

Permalink
Fixes Syntax Error in Webhooks
Browse files Browse the repository at this point in the history
- Fixes syntax error preventing build
  • Loading branch information
data-bomb committed Nov 23, 2024
1 parent e1ff2d7 commit ff2584a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Si_Webhooks/Si_Webhooks.cs
Original file line number Diff line number Diff line change
Expand Up @@ -196,9 +196,9 @@ static void SendMessageToWebhook(string message, string username, string avatar,

byte[] bytes = Encoding.ASCII.GetBytes(payload);

SteamGameServerHTTP.SetHTTPRequestRawPostBody(request, "application/json", bytes, (uint)bytes.Length));
SteamGameServerHTTP.SetHTTPRequestRawPostBody(request, "application/json", bytes, (uint)bytes.Length);
SteamAPICall_t webhookCall = new SteamAPICall_t();
SteamGameServerHTTP.SendHTTPRequest(request, out webhookCall));
SteamGameServerHTTP.SendHTTPRequest(request, out webhookCall);
OnHTTPRequestCompletedCallResultDiscord.Set(webhookCall);
}

Expand Down

0 comments on commit ff2584a

Please sign in to comment.