mirror of
https://github.com/netbymatt/ws4kp.git
synced 2026-04-17 00:59:29 -07:00
Add comment about not needing to use safeJson()
- Fix indentation in media.mjs
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user