Merge branch 'development' of https://gitlab.com/empatnusabangsa/ppob/ppob-backend into devops-staging
This commit is contained in:
commit
f8b5166f95
|
@ -128,7 +128,11 @@ export const doTransaction = async (
|
|||
);
|
||||
console.log('restransini', res);
|
||||
console.log('restransini1', res.status);
|
||||
return res.data;
|
||||
if (res.data.includes('Saldo anda tidak mencukupi')) {
|
||||
throw 'maaf saat ini transaksi sedang tidak bisa diproses, silahkan hubungi WND Solutions untuk bisa di proses kembali';
|
||||
} else {
|
||||
return res.data;
|
||||
}
|
||||
} catch (e) {
|
||||
throw 'maaf saat ini transaksi sedang tidak bisa diproses, silahkan hubungi WND Solutions untuk bisa di proses kembali';
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user