refs #5540 error trad
gitea/salix/pipeline/head There was a failure building this commit Details

This commit is contained in:
Carlos Satorres 2023-04-21 10:41:50 +02:00
parent 10def65a3f
commit 397d8f658e
2 changed files with 3 additions and 3 deletions

View File

@ -24,7 +24,8 @@ module.exports = Self => {
});
Self.validateAsync('fi', fiInvalid, {
message: 'The first two values are letters'});
message: 'Invalid TIN'
});
async function fiInvalid(err, done) {
const filter = {

View File

@ -73,8 +73,7 @@ module.exports = Self => {
done();
}
Self.validateAsync('nif', nifInvalid, {
message: 'The first two values are letters'});
Self.validateAsync('nif', nifInvalid);
async function nifInvalid(err, done) {
const filter = {