Fix unmarshalling of tx_power

This commit is contained in:
Paul Tyng
2021-03-21 21:34:29 -04:00
parent a3d437ef8e
commit 4702e34c81
3 changed files with 3 additions and 1 deletions

View File

@@ -121,6 +121,7 @@ func (dst *ChannelPlanRadioTable) UnmarshalJSON(b []byte) error {
aux := &struct {
BackupChannel numberOrString `json:"backup_channel"`
Channel numberOrString `json:"channel"`
TxPower numberOrString `json:"tx_power"`
Width emptyStringInt `json:"width"`
*Alias