Expose Device API
This commit is contained in:
committed by
Paul Tyng
parent
14e88eece9
commit
e93f92a066
@@ -138,7 +138,7 @@ func NewResource(structName string, resourcePath string) *Resource {
|
||||
}
|
||||
|
||||
if resource.StructName == "Device" {
|
||||
baseType.Fields[" MAC"] = NewFieldInfo("MAC", "mac", "string", "", false, false)
|
||||
baseType.Fields[" MAC"] = NewFieldInfo("MAC", "mac", "string", "", true, false)
|
||||
}
|
||||
|
||||
if resource.StructName == "User" {
|
||||
|
||||
Reference in New Issue
Block a user