From db7b1d05edce439eca4ae7c879b0386939cc54bf Mon Sep 17 00:00:00 2001 From: David Date: Fri, 20 Sep 2024 12:29:15 +0530 Subject: [PATCH] fix: apple omits color on some models --- godep/device.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/godep/device.go b/godep/device.go index aa46e63..673b91d 100644 --- a/godep/device.go +++ b/godep/device.go @@ -12,7 +12,7 @@ type Device struct { SerialNumber string `json:"serial_number"` Model string `json:"model"` Description string `json:"description"` - Color string `json:"color"` + Color string `json:"color,omitempty"` AssetTag string `json:"asset_tag,omitempty"` ProfileStatus string `json:"profile_status"` ProfileUUID string `json:"profile_uuid,omitempty"`