Update Face to string to work with netbox >= 2.7.

This commit is contained in:
Kalle Carlbark 2020-02-24 15:29:51 +01:00
parent d6623a46c9
commit d7bf99be52
No known key found for this signature in database
GPG key ID: 5E4BAB01A57CDD62

View file

@ -76,7 +76,7 @@ type DcimDevicesList struct {
Position int `json:"position"` Position int `json:"position"`
Face struct { Face struct {
Label string `json:"label"` Label string `json:"label"`
Value int `json:"value"` Value string `json:"value"`
} `json:"face"` } `json:"face"`
ParentDevice struct { ParentDevice struct {
ID int `json:"id"` ID int `json:"id"`