mirror of
https://github.com/navidrome/navidrome.git
synced 2025-04-04 13:07:36 +03:00
Mark Share.LastVisited optional in Subsonic API
This commit is contained in:
parent
433da37982
commit
cab43c89e6
1 changed files with 1 additions and 1 deletions
|
@ -368,7 +368,7 @@ type Share struct {
|
||||||
Username string `xml:"username,attr" json:"username"`
|
Username string `xml:"username,attr" json:"username"`
|
||||||
Created time.Time `xml:"created,attr" json:"created"`
|
Created time.Time `xml:"created,attr" json:"created"`
|
||||||
Expires *time.Time `xml:"expires,omitempty,attr" json:"expires,omitempty"`
|
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"`
|
VisitCount int `xml:"visitCount,attr" json:"visitCount"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue