From ff6b55491dec7ad1973dda37a35e2d9f47f75bcb Mon Sep 17 00:00:00 2001 From: Gabriel Arakaki Giovanini Date: Wed, 19 Jul 2023 21:17:49 +0200 Subject: ref: Fix linting errors --- pkg/view/media.go | 3 --- 1 file changed, 3 deletions(-) (limited to 'pkg/view') diff --git a/pkg/view/media.go b/pkg/view/media.go index 4bf8d68..e247940 100644 --- a/pkg/view/media.go +++ b/pkg/view/media.go @@ -82,9 +82,6 @@ func (self *MediaView) Index(ctx *fasthttp.RequestCtx) error { templates.WritePageTemplate(ctx, page) - if err != nil { - return err - } return nil } -- cgit v1.2.3