Converted all collections from repositories to *collections
This commit is contained in:
+2
-2
@@ -34,8 +34,8 @@ func (c *GetIndexesController) Get() {
|
||||
LastModified: fmt.Sprint(utils.ToMillis(lastModified)),
|
||||
}
|
||||
|
||||
res.Index = make([]responses.Index, len(indexes))
|
||||
for i, idx := range indexes {
|
||||
res.Index = make([]responses.Index, len(*indexes))
|
||||
for i, idx := range *indexes {
|
||||
res.Index[i].Name = idx.Id
|
||||
res.Index[i].Artists = make([]responses.Artist, len(idx.Artists))
|
||||
for j, a := range idx.Artists {
|
||||
|
||||
Reference in New Issue
Block a user