mirror of
https://github.com/Qortal/qortal.git
synced 2025-05-05 09:17:51 +00:00
Fixed sample app
This commit is contained in:
parent
5a052a4f67
commit
2822d860d8
@ -352,6 +352,7 @@ Here is a sample application to display the logged-in user's avatar:
|
||||
<html>
|
||||
<head>
|
||||
<script>
|
||||
async function showAvatar() {
|
||||
try {
|
||||
// Get QORT address of logged in account
|
||||
let address = await qortalRequest({
|
||||
@ -386,6 +387,8 @@ Here is a sample application to display the logged-in user's avatar:
|
||||
} catch(e) {
|
||||
console.log("Error: " + JSON.stringify(e));
|
||||
}
|
||||
}
|
||||
showAvatar();
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
|
Loading…
x
Reference in New Issue
Block a user