mirror of
https://git.ianrenton.com/ian/spothole.git
synced 2025-10-27 08:49:27 +00:00
Fix multiple dx_names in alerts now #38
This commit is contained in:
@@ -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",
|
||||||
|
|||||||
@@ -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:
|
||||||
|
|||||||
Reference in New Issue
Block a user