From 1cb1d0d3285be392e7d01c2091965e39f3194f42 Mon Sep 17 00:00:00 2001 From: Bogdan Rosianu Date: Mon, 6 Nov 2023 16:52:36 +0200 Subject: [PATCH] remove 'omitempty' for the guarded api field --- data/api/guardianData.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/api/guardianData.go b/data/api/guardianData.go index 135a36cb..dda348ab 100644 --- a/data/api/guardianData.go +++ b/data/api/guardianData.go @@ -11,5 +11,5 @@ type Guardian struct { type GuardianData struct { ActiveGuardian *Guardian `json:"activeGuardian,omitempty"` PendingGuardian *Guardian `json:"pendingGuardian,omitempty"` - Guarded bool `json:"guarded,omitempty"` + Guarded bool `json:"guarded"` }