Send Subsonic formatted response on marshalling errors
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user