Fixed sample app

This commit is contained in:
CalDescent 2023-01-13 18:01:38 +00:00
parent 5a052a4f67
commit 2822d860d8

View File

@ -352,6 +352,7 @@ Here is a sample application to display the logged-in user's avatar:
<html> <html>
<head> <head>
<script> <script>
async function showAvatar() {
try { try {
// Get QORT address of logged in account // Get QORT address of logged in account
let address = await qortalRequest({ let address = await qortalRequest({
@ -386,6 +387,8 @@ Here is a sample application to display the logged-in user's avatar:
} catch(e) { } catch(e) {
console.log("Error: " + JSON.stringify(e)); console.log("Error: " + JSON.stringify(e));
} }
}
showAvatar();
</script> </script>
</head> </head>
<body> <body>