Small fixes to response marshaling, introduced tests for response formats
This commit is contained in:
+1
-1
@@ -62,6 +62,6 @@ func (c *GetIndexesController) Get() {
|
||||
}
|
||||
|
||||
response := c.NewEmpty()
|
||||
response.ArtistIndex = &res
|
||||
response.Indexes = &res
|
||||
c.SendResponse(response)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user