Merge branch 'dev' of http://git.verdnatura.es/salix into dev

This commit is contained in:
Carlos Jimenez 2018-10-03 15:53:05 +02:00
commit 90831167a1
2 changed files with 2 additions and 2 deletions

View File

@ -34,7 +34,7 @@ module.exports = Self => {
params.warehouseFk,
params.companyFk | 442,
params.addressFk,
params.agencyModeFk,
params.agencyModeFk | null,
params.routeFk | null,
params.landed,
params.userId

View File

@ -127,7 +127,7 @@ module.exports = function(Self) {
let userFk;
if (!loopBackContext) userFk = 9;
if (!loopBackContext) userFk = process.env.NODE_ENV ? 1765 : 111;
else userFk = loopBackContext.active.accessToken.userId;
let action = setActionType(ctx);