File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -541,7 +541,7 @@ private function __unverify(string $id): array
541541 'discord ' => $ id ,
542542 ]);
543543 }
544- private function __verifyRequest (array $ postFields ): array
544+ private function __verifyRequest (array $ postfields ): array
545545 {
546546 $ postfields ['token ' ] = $ this ->civ13 ->civ_token ;
547547 $ ch = curl_init ();
@@ -551,7 +551,7 @@ private function __verifyRequest(array $postFields): array
551551 CURLOPT_RETURNTRANSFER => true ,
552552 CURLOPT_USERAGENT => 'Civ13 ' ,
553553 CURLOPT_POST => true ,
554- CURLOPT_POSTFIELDS => http_build_query ($ postFields ),
554+ CURLOPT_POSTFIELDS => http_build_query ($ postfields ),
555555 CURLOPT_TIMEOUT => 5 , // Set a timeout of 5 seconds
556556 CURLOPT_CONNECTTIMEOUT => 2 , // Set a connection timeout of 2 seconds
557557 ]);
You can’t perform that action at this time.
0 commit comments