Convert all Subsonic API ints to int32 as per specification (#2252)
* Fix Genre * Fix ArtistID3 * Fix AlbumID3 * Fix Child * Fix NowPlayingEntry * Fix Playlist * Fix Share * Fix User * Fix Artist * Fix Directory * Fix Error
This commit is contained in:
@@ -36,7 +36,7 @@ func (api *Router) buildShare(r *http.Request, share model.Share) responses.Shar
|
||||
Created: share.CreatedAt,
|
||||
Expires: &share.ExpiresAt,
|
||||
LastVisited: share.LastVisitedAt,
|
||||
VisitCount: share.VisitCount,
|
||||
VisitCount: int32(share.VisitCount),
|
||||
}
|
||||
if resp.Description == "" {
|
||||
resp.Description = share.Contents
|
||||
|
||||
Reference in New Issue
Block a user