- fix error respon when balance is not enough
This commit is contained in:
		| @@ -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; | ||||
|     } | ||||
|   } | ||||
| }; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user