From 3c1467ec97d8966d3c0a13963756566566434d5c Mon Sep 17 00:00:00 2001 From: Juan Date: Tue, 27 Feb 2018 12:00:39 +0100 Subject: [PATCH] Bug validateDni --- services/loopback/common/validations/validateDni.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/loopback/common/validations/validateDni.js b/services/loopback/common/validations/validateDni.js index 8c2060eba..0cb6cfe6b 100644 --- a/services/loopback/common/validations/validateDni.js +++ b/services/loopback/common/validations/validateDni.js @@ -1,4 +1,4 @@ -module.exports = fi => { +module.exports = fiWithCountry => { if (fiWithCountry == null) return true;