This commit is contained in:
Muhammad Fadli 2023-09-12 13:09:17 +07:00
commit c75c7f5ae3

View File

@ -779,7 +779,7 @@ export class TransactionService {
throw new HttpException(
{
statusCode: HttpStatus.INTERNAL_SERVER_ERROR,
error: 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,
},
HttpStatus.INTERNAL_SERVER_ERROR,
);