diff --git a/db/structs.go b/db/structs.go index 72a7250b8..4491fbd88 100644 --- a/db/structs.go +++ b/db/structs.go @@ -716,6 +716,8 @@ type PaymentHistory struct { OrgUuid string `json:"org_uuid"` SenderPubKey string `json:"sender_pubkey"` ReceiverPubKey string `json:"receiver_pubkey"` + Tag string `json:"tag,omitempty"` + PaymentStatus string `json:"payment_status,omitempty"` Created *time.Time `json:"created"` Updated *time.Time `json:"updated"` Status bool `json:"status"` diff --git a/handlers/tribes.go b/handlers/tribes.go index 92a2d2b53..336c33471 100644 --- a/handlers/tribes.go +++ b/handlers/tribes.go @@ -681,14 +681,10 @@ func (th *tribeHandler) GenerateV2BudgetInvoice(w http.ResponseWriter, r *http.R url := fmt.Sprintf("%s/invoice", config.V2BotUrl) - fmt.Println("BOT URL ====", url) - amountMsat := invoice.Amount * 1000 bodyData := fmt.Sprintf(`{"amt_msat": %d}`, amountMsat) - fmt.Println("Invoice BODY DATA ===", bodyData) - jsonBody := []byte(bodyData) client := &http.Client{}