minor refactor for code usage instead of description
gitea/salix/pipeline/head This commit looks good Details

This commit is contained in:
Carlos Jimenez Ruiz 2021-05-17 12:27:26 +02:00
parent 54d75e0e54
commit 5843140cf5
1 changed files with 1 additions and 1 deletions

View File

@ -79,7 +79,7 @@ module.exports = Self => {
}, myOptions);
const obsevationType = await models.ObservationType.findOne({
where: {description: 'comercial'}
where: {code: 'salesPerson'}
}, myOptions);
const agencyMode = await models.AgencyMode.findOne({