Merge pull request #137 from getAlby/fix/pay-response

Fix/pay-response
This commit is contained in:
Michael Bumann
2022-03-23 18:25:46 +02:00
committed by GitHub
2 changed files with 2 additions and 2 deletions

View File

@@ -38,7 +38,7 @@ type KeySendResponseBody struct {
DescriptionHashStr string `json:"description_hash,omitempty"`
PaymentError string `json:"payment_error,omitempty"`
PaymentPreimage *lib.JavaScriptBuffer `json:"payment_preimage,omitempty"`
PaymentRoute *service.Route `json:"route,omitempty"`
PaymentRoute *service.Route `json:"payment_route,omitempty"`
}
// KeySend : Key send Controller

View File

@@ -34,7 +34,7 @@ type PayInvoiceResponseBody struct {
DescriptionHashStr string `json:"description_hash,omitempty"`
PaymentError string `json:"payment_error,omitempty"`
PaymentPreimage *lib.JavaScriptBuffer `json:"payment_preimage,omitempty"`
PaymentRoute *service.Route `json:"route,omitempty"`
PaymentRoute *service.Route `json:"payment_route,omitempty"`
}
// PayInvoice : Pay invoice Controller