lens @ ff6b55491dec7ad1973dda37a35e2d9f47f75bcb

ref: Fix linting errors
diff --git a/pkg/view/media.go b/pkg/view/media.go
index 4bf8d68aa5fa4de6385a0f60bfb69e75b9d41243..e2479405d5a8e49a238872bad1eb74b2c665175b 100644
--- a/pkg/view/media.go
+++ b/pkg/view/media.go
@@ -82,9 +82,6 @@ 	}
 
 	templates.WritePageTemplate(ctx, page)
 
-	if err != nil {
-		return err
-	}
 	return nil
 }
 
diff --git a/pkg/worker/scanner/thumbnail_scanner.go b/pkg/worker/scanner/thumbnail_scanner.go
index 8245eadd895f1910ff2482d1af5c68be8db9658f..9f75464fa07512fa655375a7a9f9a4bef011cdef 100644
--- a/pkg/worker/scanner/thumbnail_scanner.go
+++ b/pkg/worker/scanner/thumbnail_scanner.go
@@ -35,7 +35,7 @@ 		Size: 100,
 	})
 }
 
-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: "",
 	})