A missing / to provide a correct endpoint

solve #1899
tokarchuk/v1.17
camlafit 8 years ago committed by GitHub
parent d9a8eff2de
commit 952cb8046f
  1. 2
      routers/api/v1/api.go

@ -487,7 +487,7 @@ func RegisterRoutes(m *macaron.Macaron) {
})
m.Group("/repos", func() {
m.Get("", org.GetTeamRepos)
m.Combo(":orgname/:reponame").
m.Combo("/:orgname/:reponame").
Put(org.AddTeamRepository).
Delete(org.RemoveTeamRepository)
})

Loading…
Cancel
Save