From ed2eb2eeaeb2ae07dbb8b577f462b9fe202b3562 Mon Sep 17 00:00:00 2001 From: kiwiidb Date: Thu, 29 Dec 2022 14:26:46 +0100 Subject: [PATCH] keysend response: use snake case to be consistent --- controllers_v2/keysend.ctrl.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/controllers_v2/keysend.ctrl.go b/controllers_v2/keysend.ctrl.go index 6cef341..ee51691 100644 --- a/controllers_v2/keysend.ctrl.go +++ b/controllers_v2/keysend.ctrl.go @@ -46,7 +46,7 @@ type KeySendResponseBody struct { Description string `json:"description,omitempty"` DescriptionHash string `json:"description_hash,omitempty"` Destination string `json:"destination,omitempty"` - CustomRecords map[string]string `json:"customRecords" validate:"omitempty"` + CustomRecords map[string]string `json:"custom_ecords" validate:"omitempty"` PaymentPreimage string `json:"payment_preimage,omitempty"` PaymentHash string `json:"payment_hash,omitempty"` }