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:
Deluan Quintão
2023-03-14 09:48:52 -04:00
committed by GitHub
parent 002cb4ed71
commit f7d4fcdcc1
9 changed files with 79 additions and 79 deletions
+1 -1
View File
@@ -262,7 +262,7 @@ func sendError(w http.ResponseWriter, r *http.Request, err error) {
code = subErr.code
}
response.Status = "failed"
response.Error = &responses.Error{Code: code, Message: err.Error()}
response.Error = &responses.Error{Code: int32(code), Message: err.Error()}
sendResponse(w, r, response)
}