Skip to content

Commit 4bc7240

Browse files
authored
Merge pull request #1903 from camlafit/patch-1
A missing / to provide a correct endpoint
2 parents d9a8eff + 952cb80 commit 4bc7240

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

routers/api/v1/api.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -487,7 +487,7 @@ func RegisterRoutes(m *macaron.Macaron) {
487487
})
488488
m.Group("/repos", func() {
489489
m.Get("", org.GetTeamRepos)
490-
m.Combo(":orgname/:reponame").
490+
m.Combo("/:orgname/:reponame").
491491
Put(org.AddTeamRepository).
492492
Delete(org.RemoveTeamRepository)
493493
})

0 commit comments

Comments
 (0)