Use JSON for suggest responses

This commit is contained in:
Ian Gulliver
2024-11-26 13:29:56 -06:00
parent 0512fa41f6
commit a425ced673
3 changed files with 15 additions and 2 deletions

View File

@@ -148,7 +148,7 @@ async function suggestNow() {
return;
}
document.getElementById('suggest-msg').innerText = await resp.text();
document.getElementById('suggest-msg').innerText = (await resp.json()).message;
document.getElementById('suggest').show();
}