mirror of
https://github.com/mohamadihsan/topuponline.git
synced 2026-12-06 21:36:27 +00:00
add log updateReservationAndLoadingBalance
This commit is contained in:
@@ -675,10 +675,16 @@ const updateReservationAndLoadingBalance = async (
|
||||
.catch(trx.rollback);
|
||||
})
|
||||
.then((result) => {
|
||||
winston.logger.debug(
|
||||
`${uniqueCode} result updateReservationAndLoadingBalance success`
|
||||
);
|
||||
// console.log(result);
|
||||
return result.rowCount;
|
||||
})
|
||||
.catch((error) => {
|
||||
winston.logger.debug(
|
||||
`${uniqueCode} result updateReservationAndLoadingBalance error: ${error.message}`
|
||||
);
|
||||
// console.log(error.message);
|
||||
return error.message;
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user