diff --git a/services/loopback/common/models/client.js b/services/loopback/common/models/client.js index 5b0be47f5..0341793a1 100644 --- a/services/loopback/common/models/client.js +++ b/services/loopback/common/models/client.js @@ -54,7 +54,7 @@ module.exports = Self => { }; let country = await Self.app.models.Country.findOne(filter); let code = country ? country.code.toLowerCase() : null; - if (code === 'fr') + if (code != 'es') return done(); if (!validateIban(this.iban))