Skip to content

Commit

Permalink
aprs.fi oversight bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
leoherzog committed Dec 14, 2024
1 parent 709e7af commit aabe563
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code.gs
Original file line number Diff line number Diff line change
Expand Up @@ -746,7 +746,7 @@ function refreshFromEcowitt_() {
}

// https://aprs.fi/page/api
function refreshFromAPRSFI() {
function refreshFromAPRSFI_() {

let aprsStations = fetchJSON_('https://api.aprs.fi/api/get?name=' + aprsStationID + '&what=wx&format=json&apikey=' + aprsApiKey);
if (!aprsStations || !aprsStations?.entries || !aprsStations?.entries.length) return false; // still no luck? give up
Expand Down

0 comments on commit aabe563

Please sign in to comment.