Merge branch 'master' of https://gitlab.com/empatnusabangsa/ppob/ppob-backend into devops-production

This commit is contained in:
Fadli 2022-11-18 15:41:24 +07:00
commit 98ebd220e8

View File

@ -341,10 +341,13 @@ export class TransactionService {
// );
// } else {
const d = new Date();
let ms = d.getMilliseconds();
const trxId = Array(6)
.fill(null)
.map(() => {
return Math.round(Math.random() * 16).toString(16);
return Math.round(Math.random() * 16).toString(16) + ms.toString();
})
.join('');
@ -598,10 +601,13 @@ export class TransactionService {
}
//HIT API SUPPLIER
const d = new Date();
let ms = d.getMilliseconds();
const trxId = Array(6)
.fill(null)
.map(() => {
return Math.round(Math.random() * 16).toString(16);
return Math.round(Math.random() * 16).toString(16) + ms.toString();
})
.join('');
@ -845,10 +851,12 @@ export class TransactionService {
}
//HIT API SUPPLIER
const d = new Date();
let ms = d.getMilliseconds();
const trxId = Array(6)
.fill(null)
.map(() => {
return Math.round(Math.random() * 16).toString(16);
return Math.round(Math.random() * 16).toString(16) + ms.toString();
})
.join('');
@ -997,10 +1005,13 @@ export class TransactionService {
userData.partner?.id,
);
//HIT API SUPPLIER
const d = new Date();
let ms = d.getMilliseconds();
const trxId = Array(6)
.fill(null)
.map(() => {
return Math.round(Math.random() * 16).toString(16);
return Math.round(Math.random() * 16).toString(16) + ms.toString();
})
.join('');