Skip to content

Commit 55be84f

Browse files
committed
refactor(catalog): linting
1 parent ca47831 commit 55be84f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

routers/web/repo/view.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ const (
5555
tplWatchers templates.TplName = "repo/watchers"
5656
tplForks templates.TplName = "repo/forks"
5757
tplMigrating templates.TplName = "repo/migrate/migrating"
58-
tplCatalog templates.TplName = "repo/catalog"
58+
tplCatalog templates.TplName = "repo/catalog"
5959
)
6060

6161
type fileInfo struct {

routers/web/web.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1515,7 +1515,7 @@ func registerRoutes(m *web.Router) {
15151515
// m.Post("/tags", web.Bind(forms.TagForm{}), repo.AddDatasetTags) // Add tags
15161516
// }, reqSignIn, reqDataCatalogWriter)
15171517
}, optSignIn, context.RepoAssignment, repo.MustBeNotEmpty, reqUnitCodeReader)
1518-
1518+
15191519
// end "/{username}/{reponame}/catalog"
15201520
m.Group("/{username}/{reponame}", func() {
15211521
m.Get("/{type:pulls}", repo.Issues)

0 commit comments

Comments
 (0)