Merge branch 'devops-staging' of https://gitlab.com/empatnusabangsa/ppob/ppob-backend
This commit is contained in:
commit
2d1275651f
|
@ -341,10 +341,13 @@ export class TransactionService {
|
||||||
// );
|
// );
|
||||||
// } else {
|
// } else {
|
||||||
|
|
||||||
|
const d = new Date();
|
||||||
|
let ms = d.getMilliseconds();
|
||||||
|
|
||||||
const trxId = Array(6)
|
const trxId = Array(6)
|
||||||
.fill(null)
|
.fill(null)
|
||||||
.map(() => {
|
.map(() => {
|
||||||
return Math.round(Math.random() * 16).toString(16);
|
return Math.round(Math.random() * 16).toString(16) + ms.toString();
|
||||||
})
|
})
|
||||||
.join('');
|
.join('');
|
||||||
|
|
||||||
|
@ -598,10 +601,13 @@ export class TransactionService {
|
||||||
}
|
}
|
||||||
|
|
||||||
//HIT API SUPPLIER
|
//HIT API SUPPLIER
|
||||||
|
const d = new Date();
|
||||||
|
let ms = d.getMilliseconds();
|
||||||
|
|
||||||
const trxId = Array(6)
|
const trxId = Array(6)
|
||||||
.fill(null)
|
.fill(null)
|
||||||
.map(() => {
|
.map(() => {
|
||||||
return Math.round(Math.random() * 16).toString(16);
|
return Math.round(Math.random() * 16).toString(16) + ms.toString();
|
||||||
})
|
})
|
||||||
.join('');
|
.join('');
|
||||||
|
|
||||||
|
@ -845,10 +851,12 @@ export class TransactionService {
|
||||||
}
|
}
|
||||||
|
|
||||||
//HIT API SUPPLIER
|
//HIT API SUPPLIER
|
||||||
|
const d = new Date();
|
||||||
|
let ms = d.getMilliseconds();
|
||||||
const trxId = Array(6)
|
const trxId = Array(6)
|
||||||
.fill(null)
|
.fill(null)
|
||||||
.map(() => {
|
.map(() => {
|
||||||
return Math.round(Math.random() * 16).toString(16);
|
return Math.round(Math.random() * 16).toString(16) + ms.toString();
|
||||||
})
|
})
|
||||||
.join('');
|
.join('');
|
||||||
|
|
||||||
|
@ -997,10 +1005,13 @@ export class TransactionService {
|
||||||
userData.partner?.id,
|
userData.partner?.id,
|
||||||
);
|
);
|
||||||
//HIT API SUPPLIER
|
//HIT API SUPPLIER
|
||||||
|
const d = new Date();
|
||||||
|
let ms = d.getMilliseconds();
|
||||||
|
|
||||||
const trxId = Array(6)
|
const trxId = Array(6)
|
||||||
.fill(null)
|
.fill(null)
|
||||||
.map(() => {
|
.map(() => {
|
||||||
return Math.round(Math.random() * 16).toString(16);
|
return Math.round(Math.random() * 16).toString(16) + ms.toString();
|
||||||
})
|
})
|
||||||
.join('');
|
.join('');
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user