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
@@ -42,7 +42,7 @@ func (r *playlistRepository) Get(id string) (*domain.Playlist, error) {
func (r *playlistRepository) GetAll(options domain.QueryOptions) (domain.Playlists, error) {
var all []_Playlist
err := r.getAll(&all, &options)
err := r.getAll(&all)
if err != nil {
return nil, err
}