From c77e7ccff8bf160eded09fbe5e0e3e47eb6e7c3a Mon Sep 17 00:00:00 2001 From: kiwiidb Date: Thu, 24 Mar 2022 15:08:45 +0100 Subject: [PATCH] struct tags --- controllers/invoicestream.ctrl.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/controllers/invoicestream.ctrl.go b/controllers/invoicestream.ctrl.go index 4532c2f..6b30755 100644 --- a/controllers/invoicestream.ctrl.go +++ b/controllers/invoicestream.ctrl.go @@ -19,7 +19,7 @@ type InvoiceStreamController struct { type InvoiceEventWrapper struct { Type string `json:"type"` - Invoice *IncomingInvoice `json:"invoice, omitempty"` + Invoice *IncomingInvoice `json:"invoice,omitempty"` } func NewInvoiceStreamController(svc *service.LndhubService) *InvoiceStreamController {