aboutsummaryrefslogtreecommitdiff
path: root/internal/route/api/v1/api.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/route/api/v1/api.go')
-rw-r--r--internal/route/api/v1/api.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/route/api/v1/api.go b/internal/route/api/v1/api.go
index c0cdcaa5..b54a6dff 100644
--- a/internal/route/api/v1/api.go
+++ b/internal/route/api/v1/api.go
@@ -274,7 +274,7 @@ func RegisterRoutes(m *macaron.Macaron) {
m.Get("/contents/*", repo.GetContents)
m.Get("/archive/*", repo.GetArchive)
m.Group("/git/trees", func() {
- m.Get("/:sha", context.RepoRef(), repo.GetRepoGitTree)
+ m.Get("/:sha", repo.GetRepoGitTree)
})
m.Get("/forks", repo.ListForks)
m.Group("/branches", func() {