瀏覽代碼

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"`
 	Networks      []string `json:"networks"`
 	Unlimited     bool     `json:"unlimited"`
 	Unlimited     bool     `json:"unlimited"`
 	Tags          []string `json:"tags"`
 	Tags          []string `json:"tags"`
+	Type          KeyType  `json:"type"`
 }
 }
 
 
 // RegisterResponse - the response to a successful enrollment register
 // RegisterResponse - the response to a successful enrollment register