Merge branch 'development' of https://gitlab.com/empatnusabangsa/ppob/ppob-backend into devops-staging
This commit is contained in:
		| @@ -35,15 +35,8 @@ export const doTransaction = async ( | ||||
|           }) | ||||
|           .catch(e => { | ||||
|             // Handle error | ||||
|             if (e.error.includes('saldo tidak cukup')) { | ||||
|               throw new HttpException( | ||||
|                   { | ||||
|                     statusCode: HttpStatus.INTERNAL_SERVER_ERROR, | ||||
|                     error: 'maaf saat ini transaksi sedang tidak bisa diproses, silahkan hubungi WND Solutions untuk bisa di proses kembali', | ||||
|                   }, | ||||
|                   HttpStatus.INTERNAL_SERVER_ERROR, | ||||
|               ); | ||||
|             } else { | ||||
|             console.log('inierrorelang', e) | ||||
|             console.log('inierrorelang2', e.response.data) | ||||
|             throw new HttpException( | ||||
|                 { | ||||
|                   statusCode: HttpStatus.INTERNAL_SERVER_ERROR, | ||||
| @@ -51,7 +44,6 @@ export const doTransaction = async ( | ||||
|                 }, | ||||
|                 HttpStatus.INTERNAL_SERVER_ERROR, | ||||
|             ); | ||||
|             } | ||||
|           }); | ||||
|     } else if (supplier.code == 'NIRS') { | ||||
|       const res = await axios.get( | ||||
|   | ||||
		Reference in New Issue
	
	Block a user