mirror of
https://github.com/XRPLF/xrpl-dev-portal.git
synced 2025-11-20 19:55:54 +00:00
switch to correct memo format/ajax format
This commit is contained in:
@@ -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();
|
||||||
|
|||||||
Reference in New Issue
Block a user