From 06a6b0f09a6719a960adfd889b9a83b9cf7c00e2 Mon Sep 17 00:00:00 2001 From: Noah Metz Date: Sun, 2 Jul 2023 10:49:42 -0600 Subject: [PATCH] Name json fields for gql thread info --- gql.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gql.go b/gql.go index 4d6a177..117f7dc 100644 --- a/gql.go +++ b/gql.go @@ -335,9 +335,9 @@ type GQLThread struct { } type GQLThreadInfo struct { - ThreadInfo - Start bool - Started bool + ThreadInfo `json:ignore` + Start bool `json:"start"` + Started bool `json:"started"` } func NewGQLThreadInfo(start bool) GQLThreadInfo {