Add comment about not needing to use safeJson()
- Fix indentation in media.mjs
This commit is contained in:
parent
137c2f6d08
commit
ebface1749
3 changed files with 40 additions and 40 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue