From ea785bd9a10725d8eb10bfea4ba0cc76870512a7 Mon Sep 17 00:00:00 2001 From: gerard Date: Tue, 21 Aug 2018 11:29:42 +0200 Subject: [PATCH] Tarea #542 --- services/ticket/common/methods/ticket-tracking/changeState.js | 1 - 1 file changed, 1 deletion(-) diff --git a/services/ticket/common/methods/ticket-tracking/changeState.js b/services/ticket/common/methods/ticket-tracking/changeState.js index 70e5d6202..0f9e76a9b 100644 --- a/services/ticket/common/methods/ticket-tracking/changeState.js +++ b/services/ticket/common/methods/ticket-tracking/changeState.js @@ -29,7 +29,6 @@ module.exports = Self => { if (ctx.req.accessToken) { let token = ctx.req.accessToken; let currentUserId = token && token.userId; - console.log(currentUserId); isProduction = await models.Account.hasRole(currentUserId, 'Production'); let worker = await models.Worker.findOne({where: {userFk: currentUserId}}); params.workerFk = worker.id;