Browse Source

Merge pull request #1903 from camlafit/patch-1

A missing / to provide a correct endpoint
tags/v1.21.12.1
Andrey Nering GitHub 8 years ago
parent
commit
4bc7240eee
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      routers/api/v1/api.go

+ 1
- 1
routers/api/v1/api.go View File

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


Loading…
Cancel
Save