Mark Share.LastVisited optional in Subsonic API

This commit is contained in:
Deluan 2023-01-24 14:26:06 -05:00
parent 433da37982
commit cab43c89e6

View file

@ -368,7 +368,7 @@ type Share struct {
Username string `xml:"username,attr" json:"username"`
Created time.Time `xml:"created,attr" json:"created"`
Expires *time.Time `xml:"expires,omitempty,attr" json:"expires,omitempty"`
LastVisited time.Time `xml:"lastVisited,attr" json:"lastVisited"`
LastVisited time.Time `xml:"lastVisited,omitempty,attr" json:"lastVisited"`
VisitCount int `xml:"visitCount,attr" json:"visitCount"`
}