Mark Share.LastVisited optional in Subsonic API

This commit is contained in:
Deluan 2023-01-24 14:26:06 -05:00 committed by Joe Stump
parent 4f99addd02
commit c7b5e10e77
No known key found for this signature in database
GPG Key ID: 29151C3EC48A0EB9

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"`
}