aboutsummaryrefslogtreecommitdiff
path: root/reqres.go
diff options
context:
space:
mode:
authorRasmus Dahlberg <rasmus.dahlberg@kau.se>2020-10-23 11:54:10 +0200
committerRasmus Dahlberg <rasmus.dahlberg@kau.se>2020-10-23 11:54:10 +0200
commit04393e4e38586854ac2846b97ef61941e6d4a39a (patch)
treec948830e2aabf92ff6c4a1d70f1321d185d27f1a /reqres.go
parent84a3a980208aec656ed8a1fad3238b41e8bc742d (diff)
fixed json tag typo
Diffstat (limited to 'reqres.go')
-rw-r--r--reqres.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/reqres.go b/reqres.go
index a228c76..a18b65d 100644
--- a/reqres.go
+++ b/reqres.go
@@ -34,7 +34,7 @@ type GetProofByHashRequest struct {
type GetEntryResponse struct {
Leaf string `json:"leaf"` // base64-encoded StItem
Signature string `json:"signature"` // base64-encoded DigitallySigned
- Chain []string `json:chain` // base64-encoded X.509 certificates
+ Chain []string `json:"chain"` // base64-encoded X.509 certificates
}
// GetEntriesResponse is an assembled get-entries responses