Skip to content
Permalink
Browse files

Fix file submission Discord hook

  • Loading branch information...
Marlamin committed Dec 1, 2019
1 parent 6c42014 commit 0570491255d03b6e765658f5184584d42ffb8b2b
Showing with 1 addition and 1 deletion.
  1. +1 −1 files/submitFiles.php
@@ -114,7 +114,7 @@
curl_setopt($ch, CURLOPT_POST, true);
curl_setopt($ch, CURLOPT_POSTFIELDS, $json);
curl_setopt($ch, CURLOPT_USERAGENT, "WoW.Tools Discord Integration");
curl_setopt($ch, CURLOPT_HTTPHEADER, ["Length" => strlen($json), "Content-Type" => "application/json"]);
curl_setopt($ch, CURLOPT_HTTPHEADER, ["Length" => strlen($json), "Content-Type: application/json"]);
$response = curl_exec($ch);
curl_close($ch);
}

0 comments on commit 0570491

Please sign in to comment.
You can’t perform that action at this time.