Skip to content

Commit a152ec7

Browse files
authored
Update modules/turnstile/turnstile.go
1 parent 09b7707 commit a152ec7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/turnstile/turnstile.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ func Verify(ctx context.Context, response, ip string) (bool, error) {
4343

4444
resp, err := http.DefaultClient.Do(req)
4545
if err != nil {
46-
return false, fmt.Errorf("Failed to send CAPTCHA response: %s", err)
46+
return false, fmt.Errorf("Failed to send CAPTCHA response: %w", err)
4747
}
4848
defer resp.Body.Close()
4949
body, err := io.ReadAll(resp.Body)

0 commit comments

Comments
 (0)