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

@@ -126,6 +126,7 @@ const init = () => {
};
const autocompleteOnSelect = async (suggestion) => {
// Note: it's fine that this uses json instead of safeJson since it's infrequent and user-initiated
const data = await json('https://geocode.arcgis.com/arcgis/rest/services/World/GeocodeServer/find', {
data: {
text: suggestion.value,