diff --git a/controllers/keysend.ctrl.go b/controllers/keysend.ctrl.go index 1bbb8f9..711ba83 100644 --- a/controllers/keysend.ctrl.go +++ b/controllers/keysend.ctrl.go @@ -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 diff --git a/controllers/payinvoice.ctrl.go b/controllers/payinvoice.ctrl.go index 1a658cd..75237f0 100644 --- a/controllers/payinvoice.ctrl.go +++ b/controllers/payinvoice.ctrl.go @@ -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