aboutsummaryrefslogtreecommitdiff
path: root/internal/service/gallery_service.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/service/gallery_service.go')
-rw-r--r--internal/service/gallery_service.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/internal/service/gallery_service.go b/internal/service/gallery_service.go
index 23a8e85..d8c2d8f 100644
--- a/internal/service/gallery_service.go
+++ b/internal/service/gallery_service.go
@@ -8,7 +8,9 @@ import (
)
// Gallery scans the configured roots and builds the gallery.
-func (s *galleryService) Gallery(ctx context.Context) ([]gallery.Photo, error) {
+func (s *galleryService) Gallery(ctx context.Context, query gallery.Query) ([]gallery.Photo, error) {
+ _ = query
+
s.mu.RLock()
defer s.mu.RUnlock()