correction on bookig flow
This commit is contained in:
@@ -62,6 +62,7 @@ func IsMySelf(peerID string) (bool, string) {
|
||||
// Peer is a struct that represents a peer
|
||||
type Peer struct {
|
||||
utils.AbstractObject
|
||||
|
||||
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)
|
||||
WalletAddress string `json:"wallet_address" bson:"wallet_address" validate:"required"` // WalletAddress is the wallet address of the peer
|
||||
|
||||
Reference in New Issue
Block a user