mirror of
https://github.com/navidrome/navidrome.git
synced 2025-04-04 13:07:36 +03:00
Send Subsonic formatted response on marshalling errors
This commit is contained in:
parent
97c7e5daaf
commit
176329343a
7 changed files with 71 additions and 52 deletions
|
@ -19,7 +19,7 @@ import (
|
|||
|
||||
func newResponse() *responses.Subsonic {
|
||||
return &responses.Subsonic{
|
||||
Status: "ok",
|
||||
Status: responses.StatusOK,
|
||||
Version: Version,
|
||||
Type: consts.AppName,
|
||||
ServerVersion: consts.Version,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue