Skip to content

Commit

Permalink
refactor: update parameter API
Browse files Browse the repository at this point in the history
  • Loading branch information
heirro authored Sep 26, 2023
1 parent 22a7a75 commit 3865238
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions main.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,11 @@ $('#cekrekening').on("click", function () {
}, 1500);
} else {
$.ajax({
url: "https://cekrek.netovas.com/api/account-inquiry",
url: "https://netovas.com/api/cekrek/v1/account-inquiry",
type: "POST",
data: {
accountBank: $("#accountBank").val(),
accountNumber: $("#accountNumber").val(),
account_bank: $("#accountBank").val(),
account_number: $("#accountNumber").val(),
},
headers: {
'Content-Type': 'application/x-www-form-urlencoded'
Expand All @@ -55,7 +55,7 @@ $('#cekrekening').on("click", function () {
.html("Cek Nama");
$("#result-txt").fadeIn('fast', 'linear');
$('#result').html(`
<i class="fa-regular fa-circle-check"></i> <strong>${response.data.account_name}</strong>
<i class="fa-regular fa-circle-check"></i> <strong>${response.data.account_holder}</strong>
<button type="button" class="close" data-dismiss="alert" aria-label="Close">
<span aria-hidden="true">&times;</span>
</button>
Expand Down

0 comments on commit 3865238

Please sign in to comment.