switch to correct memo format/ajax format

This commit is contained in:
jonathanlei
2022-10-04 16:12:17 -07:00
parent 5e0ed297bb
commit 38babc341e

View File

@@ -42,8 +42,16 @@ function rippleTestNetCredentials(url, altnet_name) {
$.ajax({ $.ajax({
url: url, url: url,
type: 'POST', type: 'POST',
data: { memos: ["xrpl.org-faucet"] }, contentType: "application/json; charset=utf-8",
dataType: 'json', data: JSON.stringify({
memos: [
{
Memo: {
MemoData: xrpl.convertStringToHex("xrpl.org-faucet"),
},
},
],
}),
success: function(data) { success: function(data) {
//hide the loader and show results //hide the loader and show results
loader.hide(); loader.hide();