Skip to content

Commit

Permalink
Merge pull request #793 from isucon/perl_fix_utf8
Browse files Browse the repository at this point in the history
バリデーションでutf8絡みのあれそれがあるのでチェックしない
  • Loading branch information
AnaTofuZ authored Dec 7, 2024
2 parents 7a5eef7 + 54cfff2 commit 463f60b
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 8 deletions.
4 changes: 0 additions & 4 deletions webapp/perl/lib/Kossy/Isuride/Payment/Gateway.pm
Original file line number Diff line number Diff line change
Expand Up @@ -82,10 +82,6 @@ sub request_payment_gateway_post_payment ($payment_gateway_url, $token, $param,

my $payments = decode_json($get_res_body);

unless (check_params($payments, json_type_arrayof(PaymentGatewayPostPaymentResponseOne))) {
die { message => 'failed to decode the request body as json' };
}

my $rides = $retrieve_rides_order_by_created_at_asc->();

if (scalar $rides->@* != scalar $payments->@*) {
Expand Down
4 changes: 0 additions & 4 deletions webapp/perl/lib/Mojo/Isuride/Payment/Gateway.pm
Original file line number Diff line number Diff line change
Expand Up @@ -82,10 +82,6 @@ sub request_payment_gateway_post_payment ($payment_gateway_url, $token, $param,

my $payments = decode_json($get_res_body);

unless (check_params($payments, json_type_arrayof(PaymentGatewayPostPaymentResponseOne))) {
die { message => 'failed to decode the request body as json' };
}

my $rides = $retrieve_rides_order_by_created_at_asc->();

if (scalar $rides->@* != scalar $payments->@*) {
Expand Down

0 comments on commit 463f60b

Please sign in to comment.