diff --git a/modules/client/back/methods/client/updateFiscalData.js b/modules/client/back/methods/client/updateFiscalData.js index e27a6f456..4bc6fda9b 100644 --- a/modules/client/back/methods/client/updateFiscalData.js +++ b/modules/client/back/methods/client/updateFiscalData.js @@ -107,16 +107,15 @@ module.exports = Self => { throw new UserError(`You can't make changes on a client with verified data`); if (args.despiteOfClient) { - const translatedDescription = $t(`Client checked as validated despite of duplication`, { - clientId: args.despiteOfClient - }); const logRecord = { originFk: clientId, userFk: userId, action: 'update', changedModel: 'Client', changedModelId: clientId, - description: translatedDescription + description: $t(`Client checked as validated despite of duplication`, { + clientId: args.despiteOfClient + }) }; await models.ClientLog.create(logRecord);