fix linter issue

This commit is contained in:
Hayden 2023-04-01 14:59:06 -08:00
parent c9babdfe68
commit e384db16e2
No known key found for this signature in database
GPG key ID: 17CF79474E257545

View file

@ -3,7 +3,6 @@ package main
import (
"embed"
"errors"
"fmt"
"io"
"mime"
"net/http"
@ -41,7 +40,7 @@ func (a *app) mountRoutes(r *chi.Mux, chain *errchain.ErrChain, repos *repo.AllR
registerMimes()
r.Get("/swagger/*", httpSwagger.Handler(
httpSwagger.URL(fmt.Sprintf("/swagger/doc.json")),
httpSwagger.URL("/swagger/doc.json"),
))
// =========================================================================