Skip to content

Commit

Permalink
add old json tag
Browse files Browse the repository at this point in the history
  • Loading branch information
abhishek9686 committed Feb 4, 2025
1 parent d42b811 commit 1c456b3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions models/mqtt.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ type HostPeerUpdate struct {

type OldPeerUpdateFields struct {
NodePeers []wgtypes.PeerConfig `json:"peers" bson:"peers" yaml:"peers"`
OldPeers []wgtypes.PeerConfig
EndpointDetection bool `json:"endpoint_detection"`
OldPeers []wgtypes.PeerConfig `json:"Peers"`
EndpointDetection bool `json:"endpoint_detection"`
}

type FwRule struct {
Expand Down

0 comments on commit 1c456b3

Please sign in to comment.