Просмотр исходного кода

Remove json tag in acme.Authorization fingerprint

Mariano Cano 3 лет назад
Родитель
Сommit
5ff0dde819
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      acme/authorization.go

+ 1 - 1
acme/authorization.go

@@ -11,12 +11,12 @@ type Authorization struct {
 	ID          string       `json:"-"`
 	AccountID   string       `json:"-"`
 	Token       string       `json:"-"`
+	Fingerprint string       `json:"-"`
 	Identifier  Identifier   `json:"identifier"`
 	Status      Status       `json:"status"`
 	Challenges  []*Challenge `json:"challenges"`
 	Wildcard    bool         `json:"wildcard"`
 	ExpiresAt   time.Time    `json:"expires"`
-	Fingerprint string       `json:"fingerprint,omitempty"`
 	Error       *Error       `json:"error,omitempty"`
 }