Adds a missing json encoding tag

Signed-off-by: R.I.Pienaar <rip@devco.net>
This commit is contained in:
R.I.Pienaar
2023-08-14 17:41:02 +03:00
parent b839c53abc
commit 1d916ef9c7

View File

@@ -245,7 +245,7 @@ type ServerInfo struct {
// Whether JetStream is enabled (deprecated in favor of the `ServerCapability`).
JetStream bool `json:"jetstream"`
// Generic capability flags
Flags ServerCapability
Flags ServerCapability `json:"flags"`
// Sequence and Time from the remote server for this message.
Seq uint64 `json:"seq"`
Time time.Time `json:"time"`