mirror of
https://github.com/navidrome/navidrome.git
synced 2025-04-05 13:37:38 +03:00
Small fixes to response marshaling, introduced tests for response formats
This commit is contained in:
parent
b9fb5eb7ca
commit
dde130e84e
10 changed files with 154 additions and 41 deletions
|
@ -62,6 +62,6 @@ func (c *GetIndexesController) Get() {
|
|||
}
|
||||
|
||||
response := c.NewEmpty()
|
||||
response.ArtistIndex = &res
|
||||
response.Indexes = &res
|
||||
c.SendResponse(response)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue