Skip to content

Commit

Permalink
Merge pull request #224 from getAlby/fix/zeus-error
Browse files Browse the repository at this point in the history
don't omit payment error when empty
  • Loading branch information
kiwiidb committed Aug 8, 2022
2 parents 3b7b00f + ceec6dd commit 34b3ff6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion controllers/payinvoice.ctrl.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ type PayInvoiceResponseBody struct {
Amount int64 `json:"num_satoshis,omitempty"`
Description string `json:"description,omitempty"`
DescriptionHashStr string `json:"description_hash,omitempty"`
PaymentError string `json:"payment_error,omitempty"`
PaymentError string `json:"payment_error"`
PaymentPreimage *lib.JavaScriptBuffer `json:"payment_preimage,omitempty"`
PaymentRoute *service.Route `json:"payment_route,omitempty"`
}
Expand Down

0 comments on commit 34b3ff6

Please sign in to comment.