Signed-off-by: dom <githubaccount56556@proton.me>
This commit is contained in:
dom
2026-01-20 17:42:40 +08:00
parent 923af32c96
commit 0b1f6c4d0e
26 changed files with 377 additions and 451 deletions

View File

@@ -528,8 +528,8 @@ abstract final class RequestUtils {
token: captchaData.token,
validate: captchaData.validate,
);
if (res case Success(:final response)) {
if (response != null && response['is_valid'] == 1) {
if (res case Success(:final response?)) {
if (response['is_valid'] == 1) {
final griskId = response['grisk_id'];
if (griskId is String) {
onSuccess(griskId);