Skip to content

Commit

Permalink
change stp_priority to numberOrString
Browse files Browse the repository at this point in the history
  • Loading branch information
paultyng committed Oct 31, 2022
1 parent 2f6ecf5 commit 6de3313
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
3 changes: 1 addition & 2 deletions fields/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -331,8 +331,7 @@ func main() {
case "X", "Y":
f.FieldType = "float64"
case "StpPriority":
f.FieldType = "string"
f.CustomUnmarshalType = ""
f.CustomUnmarshalType = "numberOrString"
case "Ht":
f.FieldType = "int"
case "Channel", "BackupChannel", "TxPower":
Expand Down
4 changes: 3 additions & 1 deletion unifi/device.generated.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion unifi/version.generated.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 6de3313

Please sign in to comment.