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);