Updated history view api to return more human-readable data

This commit is contained in:
2023-07-21 18:25:57 +01:00
parent 8b1d66617f
commit 02b69b8cdf
3 changed files with 55 additions and 13 deletions

View File

@@ -72,8 +72,8 @@ async function populateScreen() {
<div class="full">
<article class="card">
<header>
<p>User: ${history[i].uid}</p>
<p>Task: ${history[i].tid}</p>
<p>User: ${history[i].user}</p>
<p>Task: ${history[i].task}</p>
<p>Time: ${history[i].time}</p>
<p>Points gained: ${history[i].pointsGained}</p>
</header>