Преглед на файлове

add type to APIEnrollementKey

Matthew R Kasun преди 2 години
родител
ревизия
3ccd81eac8
променени са 1 файла, в които са добавени 1 реда и са изтрити 0 реда
  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