Skip to content

Commit 09ff015

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

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
@@ -48,7 +48,7 @@ func Verify(ctx context.Context, response, ip string) (bool, error) {
4848
defer resp.Body.Close()
4949
body, err := io.ReadAll(resp.Body)
5050
if err != nil {
51-
return false, fmt.Errorf("Failed to read CAPTCHA response: %s", err)
51+
return false, fmt.Errorf("Failed to read CAPTCHA response: %w", err)
5252
}
5353

5454
var jsonResponse Response

0 commit comments

Comments
 (0)