Skip to content

Commit edb6132

Browse files
kratzky2Captcha
and
2Captcha
authored
add recaptcha=1 as default param to grid method (#17)
Co-authored-by: 2Captcha <[email protected]>
1 parent e4e8758 commit edb6132

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

TwoCaptcha.Tests/GridTest.cs

+1
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@ public async Task TestAllParameters()
7777

7878
var parameters = new Dictionary<string, string>();
7979
parameters["method"] = "post";
80+
parameters["recaptcha"] = "1";
8081
parameters["recaptcharows"] = "3";
8182
parameters["recaptchacols"] = "3";
8283
parameters["previousID"] = "0";

TwoCaptcha/Captcha/Grid.cs

+1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ public class Grid : Captcha
77
{
88
public Grid() : base()
99
{
10+
parameters["recaptcha"] = "1";
1011
}
1112

1213
public Grid(string filePath) : this(new FileInfo(filePath))

0 commit comments

Comments
 (0)