also set nym
This commit is contained in:
parent
6b52d06b3e
commit
90d8e39eb3
4 changed files with 82 additions and 3 deletions
|
|
@ -88,6 +88,17 @@ window.onload = () => {
|
|||
},
|
||||
body: JSON.stringify({ encryptedContactDetails })
|
||||
});
|
||||
|
||||
const nym = document.querySelector('#nym-input').value;
|
||||
await fetch('/api/set-nym',
|
||||
{
|
||||
method: 'POST',
|
||||
headers: {
|
||||
'Content-Type': 'application/json'
|
||||
},
|
||||
body: JSON.stringify({ nym })
|
||||
});
|
||||
|
||||
}
|
||||
);
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue