Skip to content

Commit

Permalink
fix: se agrega parametro requerido de error de validacion
Browse files Browse the repository at this point in the history
  • Loading branch information
ramirezsebas committed Feb 3, 2024
1 parent ebc9fa6 commit 63051df
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/contribuyentes.js
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,7 @@ async function getContribuyenteByRucOrCI(ruc) {
if (!ruc || ruc.trim() === '' || !regex.test(ruc)) {
throw new ValidationError(
'El parámetro ruc es inválido. Debe tener formato 12345 o 123456-1',
'El cliente envio un parametro invalido.',
);
}

Expand Down

0 comments on commit 63051df

Please sign in to comment.