Make QueryOptions optional in AlbumRepository.GetAll

This commit is contained in:
Deluan
2020-01-11 21:25:37 -05:00
parent bfac3e3c91
commit d4ed6a0569
7 changed files with 26 additions and 18 deletions
+1 -1
View File
@@ -36,7 +36,7 @@ func (r *artistIndexRepository) Get(id string) (*domain.ArtistIndex, error) {
func (r *artistIndexRepository) GetAll() (domain.ArtistIndexes, error) {
var all []_ArtistIndex
err := r.getAll(&all, &domain.QueryOptions{})
err := r.getAll(&all)
if err != nil {
return nil, err
}