This commit is contained in:
2025-10-21 19:27:58 +02:00
parent 77e0343330
commit d77fcd8ef5
6 changed files with 196 additions and 177 deletions

View File

@@ -773,6 +773,7 @@ func (s *HTTPServer) getWatchlistSpotsWithStatus(w http.ResponseWriter, r *http.
for _, pattern := range watchlistCallsigns {
if spot.DX == pattern || strings.HasPrefix(spot.DX, pattern) {
isInWatchlist = true
Log.Debugf("✅ Watchlist match in API: %s matches pattern %s", spot.DX, pattern)
break
}
}
@@ -782,6 +783,8 @@ func (s *HTTPServer) getWatchlistSpotsWithStatus(w http.ResponseWriter, r *http.
}
}
Log.Debugf("📊 Watchlist spots API returned %d spots", len(relevantSpots))
type BandModeKey struct {
Band string
Mode string