Sometimes, the last seen time is empty
This commit is contained in:
parent
c6b538380c
commit
15145d1f58
@ -51,7 +51,7 @@ type (
|
|||||||
Group Selector `json:"group"`
|
Group Selector `json:"group"`
|
||||||
Location Selector `json:"location"`
|
Location Selector `json:"location"`
|
||||||
Product Product `json:"product"`
|
Product Product `json:"product"`
|
||||||
LastSeen time.Time `json:"last_seen"`
|
LastSeen *time.Time `json:"last_seen,omitempty"`
|
||||||
SecondsLastSeen float64 `json:"seconds_last_seen"`
|
SecondsLastSeen float64 `json:"seconds_last_seen"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user