Send Subsonic formatted response on marshalling errors

This commit is contained in:
Deluan 2024-02-17 10:39:29 -05:00
parent 97c7e5daaf
commit 176329343a
7 changed files with 71 additions and 52 deletions

View file

@ -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,