From 6aa56c83276ae0fe2705514671c71ab68ed1e5ba Mon Sep 17 00:00:00 2001 From: Sami Alajrami Date: Tue, 3 Feb 2026 15:47:03 +0100 Subject: [PATCH] omit empty pr approver state and timestamp --- internal/types/types.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/types/types.go b/internal/types/types.go index 8584c2da3..e80d81646 100644 --- a/internal/types/types.go +++ b/internal/types/types.go @@ -15,8 +15,8 @@ type PREvidence struct { type PRApprovals struct { Username string `json:"username"` - State string `json:"state"` - Timestamp int64 `json:"timestamp"` + State string `json:"state,omitempty"` + Timestamp int64 `json:"timestamp,omitempty"` } type Commit struct {