Skip to content

Commit f4635fe

Browse files
committed
fix
1 parent 10b6047 commit f4635fe

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

routers/web/web.go

+1-2
Original file line numberDiff line numberDiff line change
@@ -1335,8 +1335,7 @@ func registerRoutes(m *web.Router) {
13351335
m.Get(".atom", feedEnabled, repo.TagsListFeedAtom)
13361336
}, ctxDataSet("EnableFeed", setting.Other.EnableFeed),
13371337
repo.MustBeNotEmpty, context.RepoRefByType(context.RepoRefTag, context.RepoRefByTypeOptions{IgnoreNotExistErr: true}))
1338-
m.Post("/tags/delete", repo.DeleteTag, reqSignIn,
1339-
repo.MustBeNotEmpty, context.RepoMustNotBeArchived(), reqRepoCodeWriter, context.RepoRef())
1338+
m.Post("/tags/delete", reqSignIn, repo.MustBeNotEmpty, context.RepoMustNotBeArchived(), reqRepoCodeWriter, repo.DeleteTag)
13401339
}, optSignIn, context.RepoAssignment, reqRepoCodeReader)
13411340
// end "/{username}/{reponame}": repo tags
13421341

0 commit comments

Comments
 (0)