mirror of
https://github.com/XRPLF/xrpl-dev-portal.git
synced 2025-11-20 03:35:51 +00:00
switch to correct memo format/ajax format
This commit is contained in:
@@ -42,8 +42,16 @@ function rippleTestNetCredentials(url, altnet_name) {
|
||||
$.ajax({
|
||||
url: url,
|
||||
type: 'POST',
|
||||
data: { memos: ["xrpl.org-faucet"] },
|
||||
dataType: 'json',
|
||||
contentType: "application/json; charset=utf-8",
|
||||
data: JSON.stringify({
|
||||
memos: [
|
||||
{
|
||||
Memo: {
|
||||
MemoData: xrpl.convertStringToHex("xrpl.org-faucet"),
|
||||
},
|
||||
},
|
||||
],
|
||||
}),
|
||||
success: function(data) {
|
||||
//hide the loader and show results
|
||||
loader.hide();
|
||||
|
||||
Reference in New Issue
Block a user