Browse Source

add type to APIEnrollementKey

Matthew R Kasun 2 years ago
parent
commit
3ccd81eac8
1 changed files with 1 additions and 0 deletions
  1. 1 0
      models/enrollment_key.go

+ 1 - 0
models/enrollment_key.go

@@ -46,6 +46,7 @@ type APIEnrollmentKey struct {
 	Networks      []string `json:"networks"`
 	Unlimited     bool     `json:"unlimited"`
 	Tags          []string `json:"tags"`
+	Type          KeyType  `json:"type"`
 }
 
 // RegisterResponse - the response to a successful enrollment register