From b657df70a8c789f1486791ea612f128b357ede98 Mon Sep 17 00:00:00 2001 From: Fadli Date: Thu, 9 Mar 2023 10:57:54 +0700 Subject: [PATCH] - fix error respon when balance is not enough --- src/helper/irs-api.ts | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/helper/irs-api.ts b/src/helper/irs-api.ts index b875f10..9f09267 100644 --- a/src/helper/irs-api.ts +++ b/src/helper/irs-api.ts @@ -132,11 +132,6 @@ export const doTransaction = async ( } catch (err) { console.log('errtransaction', err); console.log('errtransaction2', err.response.data); - - if (err.includes('Maaf Saldo anda tidak mencukupi')) { throw 'maaf saat ini transaksi sedang tidak bisa diproses, silahkan hubungi WND Solutions untuk bisa di proses kembali'; - } else { - throw err; - } } };