aboutsummaryrefslogtreecommitdiff
path: root/pkg/worker/scanner
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/worker/scanner')
-rw-r--r--pkg/worker/scanner/thumbnail_scanner.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/worker/scanner/thumbnail_scanner.go b/pkg/worker/scanner/thumbnail_scanner.go
index 8245ead..9f75464 100644
--- a/pkg/worker/scanner/thumbnail_scanner.go
+++ b/pkg/worker/scanner/thumbnail_scanner.go
@@ -35,7 +35,7 @@ func (t *ThumbnailScanner) Query(ctx context.Context) ([]*repository.Media, erro
})
}
-func (t *ThumbnailScanner) OnFail(ctx context.Context, media *repository.Media, err error) {
+func (t *ThumbnailScanner) OnFail(ctx context.Context, media *repository.Media, _ error) {
_ = t.repository.CreateThumbnail(ctx, media.ID, &repository.MediaThumbnail{
Path: "",
})