Skip to content

Commit

Permalink
Merge pull request #1903 from camlafit/patch-1
Browse files Browse the repository at this point in the history
A missing / to provide a correct endpoint
  • Loading branch information
andreynering authored Jun 7, 2017
2 parents d9a8eff + 952cb80 commit 4bc7240
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 4bc7240

Please sign in to comment.