Group
Extension

Matches 1

Mojolicious-Plugin-ReCAPTCHAv2Async ( C/CO/COFFEE/Mojolicious-Plugin-ReCAPTCHAv2Async-0.001.tar.gz, COFFEE, 2018; MetaCPAN )
Mojolicious-Plugin-ReCAPTCHAv2Async/lib/Mojolicious/Plugin/ReCAPTCHAv2Async.pm ( view source; MetaCPAN )

      }

      my $res = $tx->res;
      my $json = eval { $res->json };
      
      if (not defined $json) {
        $c->app->log->error( 'Decoding JSON response failed: ' . $@ );
        $c->app->
rn $p->reject( 'x-unparseable-data-received' );
      }

      if (not $json->{'success'}) {
        return $p->reject( @{ $json->{'error-codes'} // [] } );
      }

      return $p->resolve;

    });

Powered by Groonga
Maintained by Kenichi Ishigaki <ishigaki@cpan.org>. If you find anything, submit it on GitHub.