Skip to content

Commit

Permalink
Merge pull request #9 from FriendlyCaptcha/change-sdk-header
Browse files Browse the repository at this point in the history
Change SDK header name
  • Loading branch information
gzuidhof authored Oct 21, 2024
2 parents 91df1cd + efc60f4 commit a06de53
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion verify.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ func (frc *Client) VerifyCaptchaResponse(ctx context.Context, captchaResponse st

req.Header.Set("Content-Type", "application/json")
req.Header.Set("X-Api-Key", frc.APIKey)
req.Header.Set("X-Frc-Sdk", fmt.Sprintf("friendly-captcha-go@%s", Version))
req.Header.Set("Frc-Sdk", fmt.Sprintf("friendly-captcha-go@%s", Version))

resp, err := frc.HTTPClient.Do(req)
if err != nil {
Expand Down
2 changes: 1 addition & 1 deletion version.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
package friendlycaptcha

var Version = "0.2.4"
var Version = "0.2.5"

0 comments on commit a06de53

Please sign in to comment.