Skip to content

Commit

Permalink
Update frc-sdk header
Browse files Browse the repository at this point in the history
  • Loading branch information
gzuidhof committed Oct 21, 2024
1 parent 9ec7315 commit 063ca91
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/client.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

use FriendlyCaptcha\SDK\{ClientConfig, VerifyResult, ErrorCodes};

const VERSION = "0.1.0";
const VERSION = "0.1.1";
const EU_API_ENDPOINT = "https://eu.frcapi.com/api/v2/captcha/siteverify";
const GLOBAL_API_ENDPOINT = "https://global.frcapi.com/api/v2/captcha/siteverify";

Expand Down Expand Up @@ -76,7 +76,7 @@ public function verifyCaptchaResponse(?string $response): VerifyResult
'Content-Type: application/json',
'Content-Length: ' . strlen($payload),
'X-Api-Key: ' . $this->config->apiKey,
'X-Frc-Sdk: ' . 'friendly-captcha-php-sdk@' . VERSION
'Frc-Sdk: ' . 'friendly-captcha-php@' . VERSION
)
);
curl_setopt($ch, CURLOPT_POSTFIELDS, $payload);
Expand Down

0 comments on commit 063ca91

Please sign in to comment.