Skip to content

Commit 1f5279c

Browse files
lunnywxiaoguang
andauthored
Update routers/web/web.go
Co-authored-by: wxiaoguang <[email protected]>
1 parent 54b4462 commit 1f5279c

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

routers/web/web.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1045,8 +1045,7 @@ func registerRoutes(m *web.Router) {
10451045
m.Group("/migrate", func() {
10461046
m.Get("/status", repo.MigrateStatus)
10471047
})
1048-
},
1049-
ignSignIn, context.RepoAssignment, reqRepoCodeReader, context.RepoRef())
1048+
}, ignSignIn, context.RepoAssignment, reqRepoCodeReader)
10501049
// end "/{username}/{reponame}/-": migrate
10511050

10521051
m.Group("/{username}/{reponame}/settings", func() {

0 commit comments

Comments
 (0)