6745-2404_testToMaster #1950

Merged
alexm merged 191 commits from 6745-2404_testToMaster into master 2024-01-25 07:39:13 +00:00
1 changed files with 1 additions and 2 deletions
Showing only changes of commit 3fbead7473 - Show all commits

View File

@ -36,9 +36,8 @@ module.exports = Self => {
};
const country = await Self.app.models.Country.findOne(filter);
const code = country ? country.code.toLowerCase() : null;
const countryCode = this.fi?.toLowerCase().substring(0, 2);
if (!this.fi || !validateTin(this.fi, code) || countryCode == code)
if (!this.fi || !validateTin(this.fi, code))
err();
done();
}