Merge branch 'devops-staging' of gitlab.com:empatnusabangsa/ppob/ppob-backend
This commit is contained in:
commit
c32aa44f46
|
@ -730,8 +730,6 @@ export class TransactionService {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
console.log(hitSupplier, 'newhitSupplier');
|
|
||||||
|
|
||||||
// const hitSupplier = {
|
// const hitSupplier = {
|
||||||
// harga: 2000,
|
// harga: 2000,
|
||||||
// success: true,
|
// success: true,
|
||||||
|
@ -800,7 +798,7 @@ export class TransactionService {
|
||||||
throw new HttpException(
|
throw new HttpException(
|
||||||
{
|
{
|
||||||
statusCode: HttpStatus.INTERNAL_SERVER_ERROR,
|
statusCode: HttpStatus.INTERNAL_SERVER_ERROR,
|
||||||
error: hitSupplier.msg.includes('saldo tidak cukup') ? 'maaf saat ini transaksi sedang tidak bisa diproses, silahkan hubungi WND Solutions untuk bisa di proses kembali' : hitSupplier.msg,
|
error: hitSupplier.msg.includes('saldo tidak cukup') ? 'maaf saat ini transaksi sedang tidak bisa diproses, silahkan hubungi WND Solutions untuk bisa di proses kembali' : hitSupplier.msg.includes('METRO GLOBALINDO') ? "maaf saat ini transaksi sedang tidak bisa diproses, silahkan hubungi WND Solutions untuk bisa di proses kembali" : hitSupplier.msg
|
||||||
},
|
},
|
||||||
HttpStatus.INTERNAL_SERVER_ERROR,
|
HttpStatus.INTERNAL_SERVER_ERROR,
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user