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
+1 -1
View File
@@ -20,7 +20,7 @@ var _ = Describe("Responses", func() {
var response *Subsonic
BeforeEach(func() {
response = &Subsonic{
Status: "ok",
Status: StatusOK,
Version: "1.8.0",
Type: consts.AppName,
ServerVersion: "v0.0.0",