1
0
Fork 0
mirror of https://github.com/anyproto/any-sync.git synced 2025-06-08 05:57:03 +09:00

fix config

This commit is contained in:
Sergey Cherepanov 2023-04-12 14:22:20 +02:00 committed by Mikhail Iudin
parent 93cd6897d3
commit b722e7301d
No known key found for this signature in database
GPG key ID: FAAAA8BAABDFF1C0

View file

@ -24,9 +24,9 @@ const (
)
type Node struct {
PeerId string `yaml:"peerId"`
Addresses []string `yaml:"address"`
Types []NodeType `yaml:"types,omitempty"`
PeerId string `yaml:"peerId" bson:"peerId"`
Addresses []string `yaml:"addresses" bson:"addresses"`
Types []NodeType `yaml:"types,omitempty" bson:"types"`
}
func (n Node) Id() string {