Merge branch 'dev' of http://git.verdnatura.es/salix into dev
This commit is contained in:
commit
90831167a1
|
@ -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
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue