From a17016a1d8c1185e0498b05aa817ab0c8796b00a Mon Sep 17 00:00:00 2001 From: carlossa Date: Thu, 23 Mar 2023 08:29:25 +0100 Subject: [PATCH] refs #5439 arreglo getUserConfig --- back/methods/user-config/getUserConfig.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/back/methods/user-config/getUserConfig.js b/back/methods/user-config/getUserConfig.js index c8aef963d..4de8049e7 100644 --- a/back/methods/user-config/getUserConfig.js +++ b/back/methods/user-config/getUserConfig.js @@ -33,7 +33,7 @@ module.exports = function(Self) { let newConfig = { warehouseFk: warehouse.id, companyFk: company.id, - userFk: ctx.req.accessToken.userId, + userFk: ctx.req.accessToken.userId }; userConfig = await models.UserConfig.create(newConfig, myOptions);