Skip to content

Commit

Permalink
A missing / to provide a correct endpoint
Browse files Browse the repository at this point in the history
solve #1899
  • Loading branch information
camlafit authored Jun 7, 2017
1 parent d9a8eff commit 952cb80
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion routers/api/v1/api.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
})
Expand Down

0 comments on commit 952cb80

Please sign in to comment.