keep only verify
This commit is contained in:
@@ -64,7 +64,6 @@ type Peer struct {
|
|||||||
utils.AbstractObject
|
utils.AbstractObject
|
||||||
|
|
||||||
Verify bool `json:"verify" bson:"verify"`
|
Verify bool `json:"verify" bson:"verify"`
|
||||||
PartnershipPending *PeerRelation `json:"partnership_pending" bson:"partnership_pending"`
|
|
||||||
PeerID string `json:"peer_id" bson:"peer_id" validate:"required"`
|
PeerID string `json:"peer_id" bson:"peer_id" validate:"required"`
|
||||||
Url string `json:"url" bson:"url" validate:"required"` // Url is the URL of the peer (base64url)
|
Url string `json:"url" bson:"url" validate:"required"` // Url is the URL of the peer (base64url)
|
||||||
NATSUrl string `json:"nats_url" bson:"nats_url" validate:"required"`
|
NATSUrl string `json:"nats_url" bson:"nats_url" validate:"required"`
|
||||||
|
|||||||
Reference in New Issue
Block a user