[Bps-public-commit] rt-extension-rest2 branch, add-validation-methods, repushed

? sunnavy sunnavy at bestpractical.com
Thu Feb 11 09:54:23 EST 2021


The branch add-validation-methods was deleted and repushed:
       was 1d6e42bcfb1c6a0d1a9886fb0ad3de42f3ab7c94
       now ff638a47de5aafa2fb8ac7346ffb194f3a6d355b

1:  1d6e42b ! 1:  ff638a4 Add explicit validation methods for tickets
    @@ -18,10 +18,10 @@
     +    my ($ok, $errmsg, $return_code) = $self->validate_input(\%args);
     +    if (!$ok) {
     +        if ( $return_code ) {
    -+            return (\$return_code, $errmsg);
    ++            return error_as_json($self->response, \$return_code, $errmsg);
     +        }
     +        else {
    -+            return (\400, $errmsg);
    ++            return error_as_json($self->response, \400, $errmsg);
     +        }
     +    }
     +



More information about the Bps-public-commit mailing list