correction on bookig flow

This commit is contained in:
mr
2026-01-15 13:27:57 +01:00
parent 7c5d5c491f
commit 1c3b9218f7
3 changed files with 9 additions and 7 deletions

View File

@@ -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