From 8de0042d2f54e4f07ea9a134bbc52c7df7b8b6bd Mon Sep 17 00:00:00 2001 From: Jah-yee <166608075+Jah-yee@users.noreply.github.com> Date: Thu, 16 Jul 2026 15:23:53 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20correct=20falied=E2=86=92failed=20typo?= =?UTF-8?q?=20in=20console.error=20messages=20(ingressmap.js)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ingressmap.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ingressmap.js b/ingressmap.js index 7d0f5d3..1e90962 100644 --- a/ingressmap.js +++ b/ingressmap.js @@ -364,7 +364,7 @@ function loadReport(reportId) { var r = JSON.parse(jsonString); return { time: r[0], reportId: r[1], latitude: r[2], longitude: r[3], agentName: r[4], agentFaction: r[5], agentLevel: r[6], ownerName: r[7], ownerFaction: r[8], enemyName: r[9], enemyFaction: r[10] }; } catch (e) { - console.error({ func: 'loadReport', error: 'falied to parse JSON', reportId: reportId, jsonString: jsonString }); + console.error({ func: 'loadReport', error: 'failed to parse JSON', reportId: reportId, jsonString: jsonString }); return null; } } else { @@ -380,7 +380,7 @@ function loadPortal(latitude, longitude) { var r = JSON.parse(jsonString); return { time: r[0], latitude: r[1], longitude: r[2], portalName: r[3], portalImageUrl: r[4] }; } catch (e) { - console.error({ func: 'loadPortal', error: 'falied to parse JSON', latitude: latitude, longitude: longitude, jsonString: jsonString }); + console.error({ func: 'loadPortal', error: 'failed to parse JSON', latitude: latitude, longitude: longitude, jsonString: jsonString }); return null; } } else {