From 5843140cf5bc907f329959142f0e4fa30537c6d5 Mon Sep 17 00:00:00 2001 From: carlosjr Date: Mon, 17 May 2021 12:27:26 +0200 Subject: [PATCH] minor refactor for code usage instead of description --- .../back/methods/claim-beginning/importToNewRefundTicket.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/claim/back/methods/claim-beginning/importToNewRefundTicket.js b/modules/claim/back/methods/claim-beginning/importToNewRefundTicket.js index 293aae012..0e358678e 100644 --- a/modules/claim/back/methods/claim-beginning/importToNewRefundTicket.js +++ b/modules/claim/back/methods/claim-beginning/importToNewRefundTicket.js @@ -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({