aboutsummaryrefslogtreecommitdiff
path: root/messages.go
diff options
context:
space:
mode:
Diffstat (limited to 'messages.go')
-rw-r--r--messages.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/messages.go b/messages.go
index 3933592..1be7c42 100644
--- a/messages.go
+++ b/messages.go
@@ -57,7 +57,7 @@ type Identifier struct {
type Challenge struct {
Resource Resource `json:"resource"` // challenge
Type ChallengeType `json:"type"`
- Token string `json:"token"`
+ Token string `json:"token,omitempty"`
Status Status `json:"status,omitempty"` // e.g. valid
URI string `json:"uri,omitempty"`
Validated *time.Time `json:"validated,omitempty"`