also set nym

This commit is contained in:
counterweight 2025-02-14 01:56:41 +01:00
parent 6b52d06b3e
commit 90d8e39eb3
Signed by: counterweight
GPG key ID: 883EDBAA726BD96C
4 changed files with 82 additions and 3 deletions

View file

@ -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 })
});
}
);
};