From a6164ce0b210aaafff25dafbaee191bdf95628e2 Mon Sep 17 00:00:00 2001 From: Dimitri Sokolyuk Date: Wed, 23 Dec 2015 01:40:50 +0100 Subject: Use PublicKey --- messages.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'messages.go') 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"` -- cgit v1.2.3