refactor: add search back to mediafiles

This commit is contained in:
Deluan
2020-01-31 15:35:06 -05:00
committed by Deluan Quintão
parent 4f4af34595
commit d755609d13
6 changed files with 76 additions and 36 deletions
+2 -1
View File
@@ -53,7 +53,8 @@ func (r *artistRepository) getIndexKey(a *model.Artist) string {
}
func (r *artistRepository) Put(a *model.Artist) error {
return r.put(a.ID, a)
_, err := r.put(a.ID, a)
return err
}
func (r *artistRepository) Get(id string) (*model.Artist, error) {