mirror of
https://github.com/mohamadihsan/topuponline.git
synced 2026-12-06 21:36:27 +00:00
update
This commit is contained in:
@@ -1,5 +1,3 @@
|
||||
const winston = require('../../helpers/winston.logger');
|
||||
|
||||
const knex = require('../../../infrastructure/database/knex');
|
||||
|
||||
// CHECK CARD NUMBER
|
||||
@@ -380,12 +378,8 @@ const insertLoadingBalance = async (
|
||||
c_flag: flag,
|
||||
});
|
||||
})
|
||||
.then(() => {
|
||||
trx.commit;
|
||||
})
|
||||
.catch((err) => {
|
||||
trx.rollback;
|
||||
});
|
||||
.then(trx.commit)
|
||||
.catch(trx.rollback);
|
||||
})
|
||||
.then((result) => {
|
||||
// console.log(result);
|
||||
|
||||
Reference in New Issue
Block a user