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
@@ -33,7 +33,8 @@ func (r *albumRepository) Exists(id string) (bool, error) {
}
func (r *albumRepository) Put(a *model.Album) error {
return r.put(a.ID, a)
_, err := r.put(a.ID, a)
return err
}
func (r *albumRepository) selectAlbum(options ...model.QueryOptions) SelectBuilder {