Add comment about not needing to use safeJson()

- Fix indentation in media.mjs
This commit is contained in:
Eddy G
2025-06-24 23:53:44 -04:00
parent 137c2f6d08
commit ebface1749
3 changed files with 40 additions and 40 deletions

View File

@@ -192,7 +192,7 @@ class AutoComplete {
let result = this.cachedResponses[search];
if (!result) {
// make the request
// make the request; using json here instead of safeJson is fine because it's infrequent and user-initiated
const resultRaw = await json(url);
// use the provided parser