Allow alerts to have more than one DX callsign, and parse the "as CALL" fields from NG3K. Not yet working #38

This commit is contained in:
Ian Renton
2025-10-10 11:37:59 +01:00
parent 5c3adcdd4d
commit cc816d8662
7 changed files with 47 additions and 32 deletions

View File

@@ -21,7 +21,7 @@ class SOTA(HTTPAlertProvider):
# Convert to our alert format
alert = Alert(source=self.name,
source_id=source_alert["id"],
dx_call=source_alert["activatingCallsign"].upper(),
dx_calls=[source_alert["activatingCallsign"].upper()],
dx_name=source_alert["activatorName"].upper(),
freqs_modes=source_alert["frequency"],
comment=source_alert["comments"],