Fix multiple dx_names in alerts now #38

This commit is contained in:
Ian Renton
2025-10-11 21:41:31 +01:00
parent ba84b90315
commit 3500ec7e03
2 changed files with 2 additions and 2 deletions

View File

@@ -22,7 +22,7 @@ class SOTA(HTTPAlertProvider):
alert = Alert(source=self.name, alert = Alert(source=self.name,
source_id=source_alert["id"], source_id=source_alert["id"],
dx_calls=[source_alert["activatingCallsign"].upper()], dx_calls=[source_alert["activatingCallsign"].upper()],
dx_name=source_alert["activatorName"].upper(), dx_names=[source_alert["activatorName"].upper()],
freqs_modes=source_alert["frequency"], freqs_modes=source_alert["frequency"],
comment=source_alert["comments"], comment=source_alert["comments"],
sig="SOTA", sig="SOTA",

View File

@@ -714,7 +714,7 @@ components:
items: items:
type: string type: string
example: M0TRT example: M0TRT
dx_name: dx_names:
type: array type: array
description: Names of the operator(s) that are going to be activating description: Names of the operator(s) that are going to be activating
items: items: