mirror of
https://github.com/mohamadihsan/topuponline.git
synced 2026-12-06 12:06:28 +00:00
Upddate
This commit is contained in:
@@ -468,7 +468,7 @@ const _postingInvoice = async (uniqueCode) => {
|
||||
winston.logger.info(`SCHEDULER-RETRY-${uniqueCode} ITEM REFERENCE ${item.reference}`);
|
||||
winston.logger.info(`SCHEDULER-RETRY-${uniqueCode} URL SAP ${parameter.c_value}`);
|
||||
let invoice = await model.getInvoice(item.reference, trx)
|
||||
await wait(2000)
|
||||
await wait(1000)
|
||||
winston.logger.info(`SCHEDULER-RETRY-${uniqueCode} RETRY INVOICE ${JSON.stringify(invoice)}`);
|
||||
const cms = await model.setReturnSAP(
|
||||
invoice,
|
||||
@@ -477,7 +477,7 @@ const _postingInvoice = async (uniqueCode) => {
|
||||
false,
|
||||
item.reference
|
||||
);
|
||||
await wait(2000)
|
||||
await wait(1000)
|
||||
|
||||
winston.logger.info(
|
||||
`SCHEDULER-RETRY-${uniqueCode} RESULT CMS : ${JSON.stringify(cms)}`
|
||||
|
||||
Reference in New Issue
Block a user