aboutsummaryrefslogtreecommitdiff
path: root/messages.go
diff options
context:
space:
mode:
authorDimitri Sokolyuk <demon@dim13.org>2015-12-23 01:40:50 +0100
committerDimitri Sokolyuk <demon@dim13.org>2015-12-23 01:40:50 +0100
commita6164ce0b210aaafff25dafbaee191bdf95628e2 (patch)
tree86a163fce423ebbe620820027ecf5c07c595e81b /messages.go
parent88c842be07c221f962edcedfdf5cd0c53b2700e7 (diff)
Use PublicKey
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"`