Merge branch 'master' of https://gitlab.com/empatnusabangsa/ppob/ppob-backend into devops-production
This commit is contained in:
		| @@ -122,13 +122,16 @@ export const doTransaction = async ( | |||||||
|       } |       } | ||||||
|     } |     } | ||||||
|  |  | ||||||
|     const res = await axios.get( |     try { | ||||||
|       `${supplier.url}?memberID=${supplier.irs_id}&pin=${supplier.irs_pin}&password=${supplier.irs_pass}&product=${productCode}&dest=${destination}&counter=1&refID=${idtrx}`, |       const res = await axios.get( | ||||||
|     ); |           `${supplier.url}?memberID=${supplier.irs_id}&pin=${supplier.irs_pin}&password=${supplier.irs_pass}&product=${productCode}&dest=${destination}&counter=1&refID=${idtrx}`, | ||||||
|  |       ); | ||||||
|  |       return res.data; | ||||||
|  |       console.log('restranshemat', res); | ||||||
|  |     } catch (e) { | ||||||
|  |       throw 'maaf saat ini transaksi sedang tidak bisa diproses, silahkan hubungi WND Solutions untuk bisa di proses kembali'; | ||||||
|  |     } | ||||||
|  |  | ||||||
|     return res.data; |  | ||||||
|  |  | ||||||
|     console.log('restranshemat', res); |  | ||||||
|   } catch (err) { |   } catch (err) { | ||||||
|     console.log('errtransaction', err); |     console.log('errtransaction', err); | ||||||
|     console.log('errtransaction2', err.response.data); |     console.log('errtransaction2', err.response.data); | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user