From 037e8b24b94aa983e463463c135e902d39934ffa Mon Sep 17 00:00:00 2001 From: Sietse Ringers Date: Mon, 9 Dec 2019 13:55:49 +0100 Subject: [PATCH] chore: set json serialization tag --- messages.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/messages.go b/messages.go index 5b3d0aa..dc0ecaf 100644 --- a/messages.go +++ b/messages.go @@ -267,7 +267,7 @@ type DisclosedAttributeIndex struct { type IssueCommitmentMessage struct { *gabi.IssueCommitmentMessage - Indices DisclosedAttributeIndices `json:"indices"` + Indices DisclosedAttributeIndices `json:"indices,omitempty"` } func (err ErrorType) Error() string { -- GitLab