Skip to content

Commit 2c1a476

Browse files
committed
Omit empty original_event_id in checkpoints
1 parent 0955308 commit 2c1a476

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

bridge/status/messagecheckpoint.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,8 +79,8 @@ type MessageCheckpoint struct {
7979
ClientType string `json:"client_type,omitempty"`
8080
ClientVersion string `json:"client_version,omitempty"`
8181

82-
OriginalEventID id.EventID `json:"original_event_id"`
83-
ManualRetryCount int `json:"manual_retry_count"`
82+
OriginalEventID id.EventID `json:"original_event_id,omitempty"`
83+
ManualRetryCount int `json:"manual_retry_count,omitempty"`
8484
}
8585

8686
var CheckpointTypes = map[event.Type]struct{}{

0 commit comments

Comments
 (0)