fix: cronjob publish fail
All checks were successful
Build & Deploy on Dev / build (push) Successful in 48s
All checks were successful
Build & Deploy on Dev / build (push) Successful in 48s
This commit is contained in:
parent
ec04da5611
commit
4ec334f0d4
2 changed files with 5 additions and 5 deletions
|
|
@ -708,11 +708,11 @@ async function handler_org(msg: amqp.ConsumeMessage): Promise<boolean> {
|
|||
posMasterId: newParentId,
|
||||
posMasterChildId: newChildId,
|
||||
createdAt: new Date(),
|
||||
createdFullName: user.name,
|
||||
createdUserId: user.sub,
|
||||
createdFullName: user ? user.name : "system",
|
||||
createdUserId: user ? user.sub : "system",
|
||||
lastUpdatedAt: new Date(),
|
||||
lastUpdateFullName: user.name,
|
||||
lastUpdateUserId: user.sub,
|
||||
lastUpdateFullName: user ? user.name : "system",
|
||||
lastUpdateUserId: user ? user.sub : "system",
|
||||
};
|
||||
|
||||
await posMasterActRepository.save(newAct);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue