Jelajahi Sumber

fix epay bug

CaIon 2 tahun lalu
induk
melakukan
fe360c0676
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      web/src/pages/TopUp/index.js

+ 1 - 1
web/src/pages/TopUp/index.js

@@ -69,7 +69,7 @@ const TopUp = () => {
             const res = await API.post('/api/user/pay', {
                 amount: parseInt(topUpCount),
                 top_up_code: topUpCode,
-                PaymentMethod: payWay
+                payment_method: payWay
             });
             if (res !== undefined) {
                 const {message, data} = res.data;