diff --git a/server/subsonic/responses/responses.go b/server/subsonic/responses/responses.go index cee04f57d..55517ca3b 100644 --- a/server/subsonic/responses/responses.go +++ b/server/subsonic/responses/responses.go @@ -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"` }