From 3ae60c52dbdea6014c664ea10a59605532f0a8dd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Damian=20=C5=BB=C3=B3=C5=82towski?= Date: Fri, 10 Jan 2025 18:02:23 +0100 Subject: [PATCH] feat(SPV-1340): fix create paymail model (#313) --- commands/paymails.go | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/commands/paymails.go b/commands/paymails.go index 91adee9..8bf68b4 100644 --- a/commands/paymails.go +++ b/commands/paymails.go @@ -5,9 +5,9 @@ import "github.com/bitcoin-sv/spv-wallet-go-client/internal/api/v1/queryparams" // CreatePaymail defines the parameters required to create a new paymail address, // including associated metadata such as the public name and avatar. type CreatePaymail struct { - Metadata queryparams.Metadata `json:"metadata"` // Metadata associated with the paymail as key-value pairs. - Key string `json:"key"` // The xpub key linked to the paymail. - Address string `json:"address"` // The paymail address to be created. - PublicName string `json:"public_name"` // The public display name associated with the paymail. - Avatar string `json:"avatar"` // The URL of the paymail's avatar image. + Metadata queryparams.Metadata `json:"metadata"` // Metadata associated with the paymail as key-value pairs. + Key string `json:"key"` // The xpub key linked to the paymail. + Address string `json:"address"` // The paymail address to be created. + PublicName string `json:"publicName"` // The public display name associated with the paymail. + Avatar string `json:"avatar"` // The URL of the paymail's avatar image. }