openbullet / CaptchaSharp

.NET universal interface for the Web APIs of all major captcha solving services
MIT License
95 stars 22 forks source link

Fix wrong type in AntiCaptcha task #25

Closed Laiteux closed 1 year ago

Laiteux commented 1 year ago

Was causing a crash when trying to submit a RecaptchaV2Enterprise task

(:

openbullet commented 1 year ago

Hey! Glad to see you back ^^ thanks for the PR!

Laiteux commented 1 year ago

Hope you're doing well mate! ❤️

Do you think you'd be able to push this to NuGet rq btw? (:

openbullet commented 1 year ago

I can do it tonight

openbullet commented 1 year ago

Done https://www.nuget.org/packages/CaptchaSharp/1.0.12

Laiteux commented 1 year ago

Much appreciated, thank you! mwah

Laiteux commented 1 year ago

@openbullet oops, it seems like you messed something up with the JSON serialization because once upgrading to 1.0.12 the JSON-serialized request data becomes PascalCased, making the API return an error.

openbullet commented 1 year ago

Hey, I will make sure to check that tomorrow, sorry for the trouble. I was away over the weekend.

openbullet commented 1 year ago

Sorry @Laiteux, I had built and packed some stuff that I was working on and I hadn't stashed from my local git branch. That's what I get for not having an automated CI/CD for this 😅 I should set one up soon. Anyways the new one is going online right now, please let me know if it works now! Thanks

https://www.nuget.org/packages/CaptchaSharp/1.0.13

Laiteux commented 1 year ago

Hahah, no worries! Yep, seems to work now! Thanks again (: