Searching by artists, spike mode

This commit is contained in:
Deluan
2016-03-11 00:37:07 -05:00
parent 29c2925a1c
commit ef31d1aca0
9 changed files with 136 additions and 28 deletions
+2 -2
View File
@@ -40,8 +40,8 @@ func (c *GetAlbumListController) Get() {
c.SendError(responses.ERROR_GENERIC, "Not implemented!")
}
offset := c.ParamInt("offset")
size := utils.MinInt(c.ParamInt("size"), 500)
offset := c.ParamInt("offset", 0)
size := utils.MinInt(c.ParamInt("size", 0), 500)
albums, err := method(offset, size)
if err != nil {